]> git.mxchange.org Git - mailer.git/blobdiff - templates/de/html/js/js_surfbar_member_edit.tpl
Updated copyright year.
[mailer.git] / templates / de / html / js / js_surfbar_member_edit.tpl
index 9cab677d3925187c7330081b7073f850fb6f1c89..bcf07a58e39a8e1eb31e95dd760523db4c525995 100644 (file)
@@ -1,13 +1,8 @@
 /**
  * JavaScript for ext-surfbar - member editing page
  * --------------------------------------------------------------------
- * $Revision::                                                        $
- * $Date::                                                            $
- * $Tag:: 0.2.1-FINAL                                                 $
- * $Author::                                                          $
- * --------------------------------------------------------------------
  * Copyright (c) 2003 - 2009 by Roland Haeder
- * Copyright (c) 2009 - 2012 by Mailer Developer Team
+ * Copyright (c) 2009 - 2016 by Mailer Developer Team
  * For more information visit: http://mxchange.org
  *
  * This program is free software; you can redistribute it and/or modify
@@ -28,7 +23,7 @@
 
 var limit = document.getElementById('limit');
 var span = document.getElementById('span_limit');
-var old_limit = {%pipe,bigintval=$content[views_max]%};
+var old_limit = $content[url_views_max];
 
 function FocusLimitedNo () {
        if ((limit.value > 0) && (limit.value != '-')) {
@@ -65,8 +60,17 @@ function ResetForm () {
        return false;
 }
 
-if ({%pipe,bigintval=$content[limited]%} == true) {
+if ($content[limited] === true) {
        FocusLimitedYes();
 } else {
        FocusLimitedNo();
 }
+
+// Register event listeners
+$('#edit').submit(function() {
+       return submitForm();
+});
+
+$('#reset').click(function() {
+       return resetForm();
+});