X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fpage%2Ffooter.inc;h=90c951c19bb46e60327b4bf3c8ac5831056c93b1;hb=3141d7755efbca4d2eb7babc1d31629295451885;hp=da53a925c1e93e63cdafa7b45aa078d10142f5d0;hpb=f018643dc04ce130f1729e16a65458af443308a0;p=fa-stable.git diff --git a/includes/page/footer.inc b/includes/page/footer.inc index da53a925..90c951c1 100644 --- a/includes/page/footer.inc +++ b/includes/page/footer.inc @@ -11,10 +11,7 @@ ***********************************************************************/ function page_footer($no_menu=false, $is_index=false) { - global $path_to_root, $js_lib, $Validate, $Editors; - - if (in_ajax()) - return;// just for speed up + global $path_to_root, $js_lib, $Validate, $Editors, $Ajax; if (!$is_index && function_exists('hyperlink_back')) hyperlink_back(); @@ -22,10 +19,13 @@ function page_footer($no_menu=false, $is_index=false) $rend = new renderer(); $rend->menu_footer($no_menu, $is_index); + $edits = "editors = ".$Ajax->php2js($Editors).";"; + $Ajax->addScript('editors', $edits); + echo ""; add_user_js_data();