The branch, master has been updated
via f07a0842f0016c4bd1596423346d38f462590b6b (commit)
from 419d067dc348817c79386fba10cc1679df486729 (commit)
- Log -----------------------------------------------------------------
commit f07a0842f0016c4bd1596423346d38f462590b6b
Author: Marc Delisle <[email protected]>
Date: Wed Mar 2 13:03:24 2011 -0500
Cache jQuery object to avoid unneeded DOM traversal
-----------------------------------------------------------------------
Summary of changes:
js/server_privileges.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/js/server_privileges.js b/js/server_privileges.js
index 8160066..332ad6b 100644
--- a/js/server_privileges.js
+++ b/js/server_privileges.js
@@ -193,9 +193,9 @@ $(document).ready(function() {
.after(data.sql_query);
//Remove the empty notice div generated due to a NULL
query passed to PMA_showMessage()
- var notice_class =
$("#topmenucontainer").next("div").find('.notice');
- if($(notice_class).text() == '') {
- $(notice_class).remove();
+ var $notice_class =
$("#topmenucontainer").next("div").find('.notice');
+ if($notice_class.text() == '') {
+ $notice_class.remove();
}
appendNewUser(data.new_user_string,
data.new_user_initial, data.new_user_initial_string);
hooks/post-receive
--
phpMyAdmin
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git