1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-29 21:24:44 +03:00

Hides the bookmarkoptions checkboxes when the bookmark label is empty

This commit is contained in:
Tyron Madlener
2011-06-22 20:45:14 +02:00
parent eb48fc2efb
commit a08bfa3964

View File

@@ -186,6 +186,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