Remove some more references to phpgwapi/js/egw_json.js

This commit is contained in:
Nathan Gray
2013-09-10 18:56:50 +00:00
parent dcfcec3ab1
commit 02c6f3b108
3 changed files with 6 additions and 10 deletions

View File

@ -367,7 +367,7 @@ etemplate2.prototype.submit = function(button)
}
// Create the request object
if (typeof egw_json_request != "undefined" && this.menuaction)
if (this.menuaction)
{
var api = this.widgetContainer.egw();
var request = api.json(this.menuaction, [this.etemplate_exec_id,values], null, this);
@ -375,7 +375,7 @@ etemplate2.prototype.submit = function(button)
}
else
{
egw.debug("info", "Form got submitted with values: ", values);
this.widgetContainer.egw().debug("warn", "Missing menuaction for submit. Values: ", values);
}
}
};