[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3RC1-6292-g7f9797b

The branch, master has been updated via 7f9797bc6af1dc2348b5b748b557e387ec164319 (commit) from 93db9fdc127ff086d5fa4f15abb25b9fd973e401 (commit) - Log ----------------------------------------------------------------- commit 7f9797bc6af1dc2348b5b748b557e387ec164319 Author: Tyron Madlener <tyronx@gmail.com> Date: Wed Jun 22 20:45:14 2011 +0200 Hides the bookmarkoptions checkboxes when the bookmark label is empty ----------------------------------------------------------------------- Summary of changes: js/sql.js | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/js/sql.js b/js/sql.js index b89d48b..14f4c05 100644 --- a/js/sql.js +++ b/js/sql.js @@ -187,6 +187,13 @@ $(document).ready(function() { cache: 'false' }); + /* Hides the bookmarkoptions checkboxes when the bookmark label is empty */ + $('input#bkm_label').keyup(function() { + $('input#id_bkm_all_users, input#id_bkm_replace') + .parent() + .toggle($(this).attr('value').length > 0); + }).trigger('keyup'); + /** * current value of the direction in which the table is displayed * @type String hooks/post-receive -- phpMyAdmin
participants (1)
-
Michal Čihař