Commit 95275f7bb1c55f01abedde25b37aaedefdece618
1 parent
ce10b6f8
Fixed problem with clearing watermarks on ajax form submit and not restoring them afterwards.
Showing
1 changed file
with
7 additions
and
1 deletions
| ... | ... | @@ -5,4 +5,10 @@ RichFaces.Watermark = function(targetId, text, options) { |
| 5 | 5 | jQuery(function() { |
| 6 | 6 | jQuery(document.getElementById(targetId)).watermark(text, options); |
| 7 | 7 | }); |
| 8 | -}; | |
| \ No newline at end of file | ||
| 8 | +}; | |
| 9 | +RichFaces.Watermark.showAll = function() { | |
| 10 | + jQuery.watermark.showAll(); | |
| 11 | +}; | |
| 12 | +A4J.AJAX.AddListener({onafterajax:function() { | |
| 13 | + RichFaces.Watermark.showAll(); | |
| 14 | +}}); | |
| \ No newline at end of file | ... | ... |
Please
register
or
login
to post a comment