From: hickert Date: Mon, 13 Sep 2010 13:25:54 +0000 (+0000) Subject: Prepared JavaScript to support dynamic plugin-change detection X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d1cdfeca667e5168f71a5fb51df6a72db5cbf0ae;p=gosa.git 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 --- 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; }