summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStella Power2010-06-07 15:24:24 (GMT)
committer Stella Power2010-06-07 15:24:24 (GMT)
commitf2c4cd37b2c2e68c8cdf7fdf13555c72c7f6d1ef (patch)
treec0c64ba6379751fa6971359e473eb50f234bb9d1
parent007cbded7397d43b9d1372e7046442f997453628 (diff)
#464158 by dereine - fix for admin setting not being saved
-rw-r--r--js/lightbox2.js4
-rw-r--r--lightbox2.admin.inc2
2 files changed, 3 insertions, 3 deletions
diff --git a/js/lightbox2.js b/js/lightbox2.js
index 55e450d..5e6939f 100644
--- a/js/lightbox2.js
+++ b/js/lightbox2.js
@@ -117,7 +117,7 @@ function lightbox2_lite_auto_handler(event) {
$("input[name=lightbox2_slideshow_automatic_exit]").attr("disabled", "disabled");
$("input[name=lightbox2_slideshow_show_play_pause]").attr("disabled", "disabled");
$("input[name=lightbox2_slideshow_pause_on_next_click]").attr("disabled", "disabled");
- $("input[name=lightbox2_slideshow_pause_on_prev_click]").attr("disabled", "disabled");
+ $("input[name=lightbox2_slideshow_pause_on_previous_click]").attr("disabled", "disabled");
$("input[name=lightbox2_loop_slides]").attr("disabled", "disabled");
// Disable automatic image handling options.
@@ -146,7 +146,7 @@ function lightbox2_lite_auto_handler(event) {
$("input[name=lightbox2_slideshow_automatic_exit]").removeAttr("disabled");
$("input[name=lightbox2_slideshow_show_play_pause]").removeAttr("disabled");
$("input[name=lightbox2_slideshow_pause_on_next_click]").removeAttr("disabled");
- $("input[name=lightbox2_slideshow_pause_on_prev_click]").removeAttr("disabled");
+ $("input[name=lightbox2_slideshow_pause_on_previous_click]").removeAttr("disabled");
$("input[name=lightbox2_loop_slides]").removeAttr("disabled");
// Enable automatic image handling options.
diff --git a/lightbox2.admin.inc b/lightbox2.admin.inc
index 99de6e3..62b51df 100644
--- a/lightbox2.admin.inc
+++ b/lightbox2.admin.inc
@@ -629,7 +629,7 @@ function lightbox2_slideshow_settings_form() {
);
// Add checkbox for "pausing on prev click".
- $form['lightbox2_slideshow_pause_on_prev_click'] = array(
+ $form['lightbox2_slideshow_pause_on_previous_click'] = array(
'#type' => 'checkbox',
'#title' => t('Pause slideshow on "Previous Image" click'),
'#description' => t('When enabled the slideshow is automatically paused, and the previous image shown, when the "Previous" button is clicked.'),