forked from extern/egroupware
Remove some more references to phpgwapi/js/egw_json.js
This commit is contained in:
parent
dcfcec3ab1
commit
02c6f3b108
@ -13,9 +13,6 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
/*egw:uses
|
/*egw:uses
|
||||||
// Force some base libraries to be loaded
|
|
||||||
jquery.jquery;
|
|
||||||
/phpgwapi/egw_json.js;
|
|
||||||
|
|
||||||
// Include the action system
|
// Include the action system
|
||||||
egw_action.egw_action;
|
egw_action.egw_action;
|
||||||
|
@ -238,12 +238,11 @@ var et2_itempicker = et2_inputWidget.extend(
|
|||||||
|
|
||||||
this.itemlist.addClass("loading");
|
this.itemlist.addClass("loading");
|
||||||
this.clear.css("display", "inline-block");
|
this.clear.css("display", "inline-block");
|
||||||
var request = new egw_json_request("etemplate_widget_itempicker::ajax_item_search::etemplate",
|
egw._json("etemplate_widget_itempicker::ajax_item_search::etemplate",
|
||||||
[this.current_app, '', request.term, request.options],
|
[this.current_app, '', request.term, request.options],
|
||||||
this
|
this.queryResults,
|
||||||
);
|
this,true,this
|
||||||
|
).sendRequest();
|
||||||
request.sendRequest(true, this.queryResults, this);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -367,7 +367,7 @@ etemplate2.prototype.submit = function(button)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create the request object
|
// Create the request object
|
||||||
if (typeof egw_json_request != "undefined" && this.menuaction)
|
if (this.menuaction)
|
||||||
{
|
{
|
||||||
var api = this.widgetContainer.egw();
|
var api = this.widgetContainer.egw();
|
||||||
var request = api.json(this.menuaction, [this.etemplate_exec_id,values], null, this);
|
var request = api.json(this.menuaction, [this.etemplate_exec_id,values], null, this);
|
||||||
@ -375,7 +375,7 @@ etemplate2.prototype.submit = function(button)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
egw.debug("info", "Form got submitted with values: ", values);
|
this.widgetContainer.egw().debug("warn", "Missing menuaction for submit. Values: ", values);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user