/**
* 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
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 != '-')) {
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();
+});