1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-28 08:39:57 +02:00

JS framework on-demand (working in admin-area right now)

This commit is contained in:
CaMer0n
2012-05-15 09:55:27 +00:00
parent 9bd347c41d
commit 7f25438201
6 changed files with 118 additions and 20 deletions

View File

@@ -3695,8 +3695,8 @@ class e_admin_ui extends e_admin_controller_ui
*/
public function ListHeader()
{
e107::getJs()->headerCore('core/tabs.js')
->headerCore('core/admin.js');
e107::js('core','core/tabs.js','prototype');
e107::js('core','core/admin.js','prototype');
}
/**
@@ -4364,7 +4364,8 @@ class e_admin_form_ui extends e_form
</form>
";
e107::getJs()->requireCoreLib('scriptaculous/controls.js', 2);
e107::js('core','scriptaculous/controls.js','prototype', 2);
//TODO - external JS
e107::getJs()->footerInline("
//autocomplete fields