| 1 |
// $Id: backup_migrate.js,v 1.1.2.1 2008/09/02 01:50:00 ronan Exp $ |
// $Id: backup_migrate.js,v 1.1.2.1.2.1 2008/09/02 16:07:51 ronan Exp $ |
| 2 |
|
|
| 3 |
Drupal.backup_migrate = { |
Drupal.backup_migrate = { |
| 4 |
callbackURL : "", |
callbackURL : "", |
| 5 |
autoAttach : function() { |
autoAttach : function() { |
| 6 |
if ($("#edit-save-settings").length && !$("#edit-save-settings").attr("checked")) { |
if ($("#edit-save-settings").length && !$("#edit-save-settings").attr("checked")) { |
| 7 |
// Disable input and hide its description. |
// Disable input and hide its description. |
| 8 |
$("div.backup-migrate-save-options").hide(); |
// Set display none instead of using hide(), because hide() doesn't work when parent is hidden. |
| 9 |
|
$('div.backup-migrate-save-options').css('display', 'none'); |
| 10 |
} |
} |
| 11 |
|
|
| 12 |
$("#edit-save-settings").bind("click", function() { |
$("#edit-save-settings").bind("click", function() { |