- Fixed etemplate input dirty handling

- Now generating an widget object tree in widget.js
- Added generic response to egw_json
- Moved "getFramework" function to jsapi and renamed it to "egw_getFramework"
- Added plugin system to egw_json
- Transformed the jQuery "replaceWith" call form class.etemplate_form.inc.php into an own json plugin
- Fixed label creation for et_html
This commit is contained in:
Andreas Stöckel
2010-07-08 12:03:13 +00:00
parent b78a9865cc
commit b5e33eab09
3 changed files with 76 additions and 0 deletions

View File

@ -114,6 +114,23 @@ function egw_appWindow(_app)
return window;
}
window.egw_getFramework = function()
{
if (typeof window.framework != 'undefined')
{
return framework;
}
else if (typeof window.parent.egw_getFramework != "undefined")
{
return window.parent.egw_getFramework();
}
else
{
return null;
}
}
function egw_set_checkbox_multiselect_enabled(_id, _enabled)
{
//Retrieve the checkbox_multiselect base div