]> git.mxchange.org Git - mailer.git/blobdiff - templates/de/html/member/member_surfbar_book_static.tpl
TASK_ADMIN_* -> ADMIN_TASK_*
[mailer.git] / templates / de / html / member / member_surfbar_book_static.tpl
index 48e29ffed6a07c6e416a7f6f369b377079bbd989..ede041a8cf5cec84cd05fa40dc3b3b1151cb7f19 100644 (file)
@@ -41,7 +41,9 @@ var span = document.getElementById('span_limit');
 var old_limit = 0;
 
 function FocusLimitedNo () {
-       old_limit = limit.value;
+       if ((limit.value > 0) && (limit.value != '-')) {
+               old_limit = limit.value;
+       }
        limit.disabled = true;
        limit.setAttribute('class', 'disabled');
        limit.style.textAlign = 'center';
@@ -68,8 +70,8 @@ function SubmitForm () {
 }
 
 function ResetForm () {
-       FocusLimitedNo();
        old_limit = 0;
+       FocusLimitedNo();
        return true;
 }