[icinga-checkins] icinga.org: icinga-web/master: Fixes command handler web path

git at icinga.org git at icinga.org
Thu Aug 23 10:33:29 CEST 2012


Module: icinga-web
Branch: master
Commit: 615838614d271ec6b9c34e9ae747e7983a874b72
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=615838614d271ec6b9c34e9ae747e7983a874b72

Author: Marius Hein <marius.hein at netways.de>
Date:   Thu Aug 23 10:32:45 2012 +0200

Fixes command handler web path

Thanks lazyfrosch, fixes #2981

---

 .../Cronks/lib/js/Cronk/grid/MetaGridPanel.js      |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/modules/Cronks/lib/js/Cronk/grid/MetaGridPanel.js b/app/modules/Cronks/lib/js/Cronk/grid/MetaGridPanel.js
index 8405f1f..282e815 100644
--- a/app/modules/Cronks/lib/js/Cronk/grid/MetaGridPanel.js
+++ b/app/modules/Cronks/lib/js/Cronk/grid/MetaGridPanel.js
@@ -689,8 +689,8 @@ Ext.ns("Cronk.grid");
             cHandler.setGrid(this);
 
             // Where we can get some info
-            cHandler.setInfoUrl("/icinga-web/modules/cronks/commandproc/{0}/json/inf");
-            cHandler.setSendUrl("/icinga-web/modules/cronks/commandproc/{0}/json/send");
+            cHandler.setInfoUrl(AppKit.c.path + "/modules/cronks/commandproc/{0}/json/inf");
+            cHandler.setSendUrl(AppKit.c.path + "/modules/cronks/commandproc/{0}/json/send");
 
             // We need something to click on
             cHandler.enhanceToolbar();





More information about the icinga-checkins mailing list