[Rt-commit] rt branch, 4.2/autocomplete-watcher-group, repushed
Alex Vandiver
alexmv at bestpractical.com
Wed Jul 17 22:54:06 EDT 2013
The branch 4.2/autocomplete-watcher-group was deleted and repushed:
was 77aff2179c9f15ac0b39e9837783e6c2bde67159
now 60d5768fb805c60b12bbc4702c3c6e728d8f91a5
1: 6a31b64 ! 1: 1fe8d06 Add all attributes that are supplied, rather than piecemeal
@@ -18,8 +18,8 @@
- my $default = $box->{'Default'} || '';
- my $size = $box->{'Size'}? qq{size="$box->{'Size'}"} : '';
- return qq{<input id="$name" name="$name" value="$default" $size />};
-+ $box->{'Default'} ||= '';
+ $box->{id} ||= $box->{name} ||= $name;
++ $box->{value} ||= delete($box->{Default}) || '';
+ return "<input ".join(" ", map{$m->interp->apply_escapes(lc($_),'h')
+ .q{="}.$m->interp->apply_escapes($box->{$_},'h').q{"}}
+ sort keys %$box)." />";
2: 77aff21 = 2: 60d5768 Autocomplete group names for watcher group searching
More information about the Rt-commit
mailing list