From d1cdfeca667e5168f71a5fb51df6a72db5cbf0ae Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 13 Sep 2010 13:25:54 +0000 Subject: [PATCH] Prepared JavaScript to support dynamic plugin-change detection -This enables much confortable browsing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19623 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/include/gosa.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/html/include/gosa.js b/gosa-core/html/include/gosa.js index 385c01a34..b282e5579 100644 --- a/gosa-core/html/include/gosa.js +++ b/gosa-core/html/include/gosa.js @@ -29,7 +29,7 @@ Event.observe(window, 'keypress', keyHandler); /* Ask before switching a plugin with this function */ function question(text, url) { - if(document.mainform.ignore){ + if(document.mainform.ignore || $('pluginModified') == null || $('pluginModified').value == 0){ location.href= url; return true; } -- 2.30.2