From 972c94bff77eb35bf7c4c91de1f643467c2775b0 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Sat, 12 Sep 2015 12:06:33 +0000 Subject: [PATCH] #1148: Fixed dashboards upload: use the more modern fileupload component, since we now hook the ajax call in iTopWebPage and removed references to the old component ajax.fileupload from (almost) everywhere... SVN:trunk[3753] --- application/dashboard.class.inc.php | 2 + .../2.x/itop-attachments/main.attachments.php | 75 ++----------------- js/dashboard.js | 59 ++++++--------- 3 files changed, 33 insertions(+), 103 deletions(-) diff --git a/application/dashboard.class.inc.php b/application/dashboard.class.inc.php index c12fe7ab6..3d98d38fc 100644 --- a/application/dashboard.class.inc.php +++ b/application/dashboard.class.inc.php @@ -546,6 +546,8 @@ class RuntimeDashboard extends Dashboard public function RenderEditionTools($oPage) { + $oPage->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/jquery.iframe-transport.js'); + $oPage->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/jquery.fileupload.js'); $sEditMenu = "