diff --git a/api/js/egw_action/egw_action.js b/api/js/egw_action/egw_action.js index bbf9451132..6eb3837584 100644 --- a/api/js/egw_action/egw_action.js +++ b/api/js/egw_action/egw_action.js @@ -859,9 +859,9 @@ function egwActionManager(_parent, _id) */ function egwActionImplementation() { - this.doRegisterAction = function() {throw "Abstract function call: registerAction"}; - this.doUnregisterAction = function() {throw "Abstract function call: unregisterAction"}; - this.doExecuteImplementation = function() {throw "Abstract function call: executeImplementation"}; + this.doRegisterAction = function() {throw "Abstract function call: registerAction";}; + this.doUnregisterAction = function() {throw "Abstract function call: unregisterAction";}; + this.doExecuteImplementation = function() {throw "Abstract function call: executeImplementation";}; this.type = ""; } @@ -946,7 +946,7 @@ egwActionLink.prototype.set_actionId = function(_value) this.actionObj = this.manager.getActionById(_value); if (!this.actionObj) - throw "Action object with id '"+_value+"' does not exist!" + throw "Action object with id '"+_value+"' does not exist!"; }; /** egwActionObject Object **/ @@ -1098,7 +1098,7 @@ egwActionObject.prototype.addObject = function(_id, _interface, _flags) * * @param {number} _index Position where the object will be inserted, "false" will add it * to the end of the list. - * @param {string}/object _id Id of the object which will be created or the object + * @param {string|object} _id Id of the object which will be created or the object * that will be added. * @param {object} _iface if _id was an string, _iface defines the interface which * will be connected to the newly generated object. @@ -1136,7 +1136,7 @@ egwActionObject.prototype.insertObject = function(_index, _id, _iface, _flags) } else { - throw "Error while adding new element to the ActionObjects!" + throw "Error while adding new element to the ActionObjects!"; } return obj;