Permalink
Browse files

fix(admin): admin.js no longer fails on the plugin text file page

  • Loading branch information...
jeabakker committed Jun 30, 2015
1 parent fa0fb99 commit a4e2ce00ef9207f4265d6417cdc581bb13cb670a
Showing with 1 addition and 3 deletions.
  1. +0 −2 engine/lib/admin.php
  2. +1 −1 views/default/resources/admin/plugin_text_file.php
View
@@ -245,8 +245,6 @@ function _elgg_admin_init() {
elgg_register_action('profile/fields/reorder', '', 'admin');
elgg_register_simplecache_view('admin.css');
$url = elgg_get_simplecache_url('admin.js');
elgg_register_js('elgg.admin', $url);
elgg_register_js('elgg.upgrades', 'js/lib/upgrades.js');
elgg_register_js('jquery.jeditable', elgg_get_simplecache_url('jquery.jeditable.js'));
@@ -9,7 +9,7 @@
_elgg_admin_add_plugin_settings_menu();
elgg_unregister_css('elgg');
elgg_load_js('elgg.admin');
elgg_require_js('elgg/admin');
elgg_load_js('jquery.jeditable');
elgg_load_library('elgg:markdown');

0 comments on commit a4e2ce0

Please sign in to comment.