Javascript updates, bug fix in Form class

- Update JS files and remove some not needed code
- Bug fix in Form where the sub element list was not correctly processed
because the DB insert vars got reset on each loop run
- Add return success/failure variable to the ln10 reload
This commit is contained in:
Clemens Schwaighofer
2019-05-17 15:31:59 +09:00
parent b5290971c1
commit d47f525480
6 changed files with 21 additions and 31 deletions

View File

@@ -3,14 +3,14 @@
* firebug 1.2+ and the webkit console */
var ConsoleSetup = function() {
if (!window.console)
window.console = {};
if (!window.console)
window.console = {};
var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
var names = ['log', 'debug', 'info', 'warn', 'error', 'assert', 'dir', 'dirxml', 'group', 'groupEnd', 'time', 'timeEnd', 'count', 'trace', 'profile', 'profileEnd'];
for (var i = 0; i < names.length; ++i) {
if (!window.console[names[i]]) {
window.console[names[i]] = function() {};
}
}
for (var i = 0; i < names.length; ++i) {
if (!window.console[names[i]]) {
window.console[names[i]] = function() {};
}
}
}();