[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_0BETA3-1762-gf07a084
Marc Delisle
lem9 at users.sourceforge.net
Wed Mar 2 19:03:46 CET 2011
The branch, master has been updated
via f07a0842f0016c4bd1596423346d38f462590b6b (commit)
from 419d067dc348817c79386fba10cc1679df486729 (commit)
- Log -----------------------------------------------------------------
commit f07a0842f0016c4bd1596423346d38f462590b6b
Author: Marc Delisle <marc at infomarc.info>
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
More information about the Git
mailing list