[Jifty-commit] r7468 - jifty/trunk/share/web/static/js
Jifty commits
jifty-commit at lists.jifty.org
Tue Sep 1 09:58:40 EDT 2009
Author: sartak
Date: Tue Sep 1 09:58:40 2009
New Revision: 7468
Modified:
jifty/trunk/share/web/static/js/jifty.js
Log:
Hide elements with the jshide class
Modified: jifty/trunk/share/web/static/js/jifty.js
==============================================================================
--- jifty/trunk/share/web/static/js/jifty.js (original)
+++ jifty/trunk/share/web/static/js/jifty.js Tue Sep 1 09:58:40 2009
@@ -773,6 +773,11 @@
jQuery(e).addClass("focused").focus();
}
},
+ // Hide with javascript (since the user may have even partially-working CSS
+ // but no JS)
+ ".jshide": function(e) {
+ jQuery(e).hide();
+ },
/* Use jQuery for full-page-refresh notifications, as well */
'#messages.jifty.results.messages, #errors.jifty.results.messages, .popup_message, .popup_error': function(e) {
jQuery(e).hide();
More information about the Jifty-commit
mailing list