]> git.mxchange.org Git - mailer.git/blobdiff - templates/de/html/member/member_surfbar_book_dynamic.tpl
Surfbar continued and some rewrites/fixes:
[mailer.git] / templates / de / html / member / member_surfbar_book_dynamic.tpl
index fef10a0188eb744cb2eff71ca0652e869cb1d8c5..cf36517664dea0cbc2d6332e032cc5eeb76e147b 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;
 }