From 6dcaa988338018ab7e3e524d577973e959902597 Mon Sep 17 00:00:00 2001 From: Cameron Date: Thu, 12 Jan 2017 18:56:28 -0800 Subject: [PATCH] Menu Manager fixes. (css or js not loading under some circumstances) --- e107_admin/menus.php | 34 +++++++++++----------------------- 1 file changed, 11 insertions(+), 23 deletions(-) diff --git a/e107_admin/menus.php b/e107_admin/menus.php index 7fb37e402..639ae5cd7 100644 --- a/e107_admin/menus.php +++ b/e107_admin/menus.php @@ -44,7 +44,7 @@ if(e_MENUMANAGER_ACTIVE === false ) { if(!deftrue("e_DEBUG_MENUMANAGER")) { - e107::css('inline', ' + e107::getJs()->inlineCSS(' body { overflow:hidden } @@ -76,7 +76,7 @@ if(e_MENUMANAGER_ACTIVE === false ) } - e107::css('inline'," + e107::getJs()->inlineCSS(" .menu-manager-items { padding-right:15px} .menu-manager-items div.item { padding:5px; margin:5px 0; border:1px solid rgba(255,255,255,0.3); border-radius:3px; cursor: move } @@ -111,7 +111,7 @@ if(e_MENUMANAGER_ACTIVE === false ) @media all and (min-height: 1000px) { - .menu-selector { height:550px } + .menu-selector { height:500px } } @media all and (max-height: 800px) { @@ -213,9 +213,9 @@ $JSMODAL = <<footerInline( $JSMODAL ); - e107::js('inline', " + e107::getJs()->footerInline(" $(function() { // Visibility/Instance Options etc. @@ -306,7 +306,7 @@ TEMPL; "); - e107::css('inline'," .column { width:100%; padding-bottom: 100px; } + e107::getJs()->inlineCSS(" .column { width:100%; padding-bottom: 100px; } #core-menumanager-main th {color: silver; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; font-size:14px; font-weight: bold; line-height:24px; background-color:#2F2F2F } @@ -526,7 +526,7 @@ TEMPL; // e107::js('footer',"http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.min.js"); // e107::css('url', "http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/themes/base/jquery-ui.css"); - e107::js('footer-inline',' + e107::getJs()->footerInline(' $(function() { // post the form back to this script. @@ -629,7 +629,7 @@ TEMPL; else { - +/* e107::js('footer-inline', " @@ -670,7 +670,7 @@ else "); - +*/ @@ -712,19 +712,7 @@ if($_SERVER['E_DEV_MENU'] == 'true') return e_menu_layout::menuSelector(); - - - - - - - - - - - - - +/* $text = '