diff --git a/masks/admin.html b/masks/admin.html
index ab82e78..60df4be 100644
--- a/masks/admin.html
+++ b/masks/admin.html
@@ -41,9 +41,6 @@ function setProjects(asProjects) {
var sElemId = 'proj_'+oProject.id;
var $Project = ($('#'+sElemId).length==0)?$('
', {'id': sElemId}):$('#'+sElemId).empty();
- console.log(sElemId);
- console.log($('#'.sElemId).length);
-
$Project
.data('project_id', oProject.id)
.append($('| ', {'class': 'name'}).text(oProject.name))
@@ -63,7 +60,7 @@ function setProjects(asProjects) {
function commit(event, $This) {
$This = $This || $(this);
var sNewVal = $This.val();
- if($This.data('old_value')!=sNewVal) { console.log('commit');
+ if($This.data('old_value')!=sNewVal) {
$This.data('old_value', sNewVal);
var asInputs = {project_id: $This.closest('tr').data('project_id'), field: $This.attr('name'), value: sNewVal};
@@ -81,7 +78,7 @@ function commit(event, $This) {
}
}
-function waitAndCommit(event) { console.log('waitAndCommit');
+function waitAndCommit(event) {
if(typeof self.tmp('wait') != 'undefined') clearTimeout(self.tmp('wait'));
self.tmp('wait', setTimeout(()=>{commit(event,$(this));}, 1000));
}
|