summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d1cdfec)
raw | patch | inline | side by side (parent: d1cdfec)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Sep 2010 13:26:52 +0000 (13:26 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 13 Sep 2010 13:26:52 +0000 (13:26 +0000) |
-This allows us to dynamically display the 'Drop changes' question while browsing through the objects.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19624 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19624 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/ihtml/themes/default/framework.tpl | patch | blob | history |
diff --git a/gosa-core/ihtml/themes/default/framework.tpl b/gosa-core/ihtml/themes/default/framework.tpl
index d6e1886cb085de379a9cbc3cdaba9ba5c1277f14..5497ba6fa36b973c127f9035d43c8cd7d91f8ed7 100644 (file)
{$focus}
<input type="hidden" name="php_c_check" value="1">
</form>
+
+<input type='text' id='d'>
<!-- Automatic logout when session is expired -->
<script type='text/javascript'>
document.location = 'logout.php';
}
logout.delay({$sessionLifetime});
- </script>
+
+
+ // Append change handler to all input fields.
+ if($('pluginModified') != null && $('pluginModified').value == 0){
+ for(i=0;i<document.forms.length;i++){
+ for(e=0;e<document.forms[i].elements.length;e++){
+ var ele = document.forms[i].elements[e];
+ Event.observe(ele, 'change',
+ function () {
+ $('pluginModified').value |= 1;
+ });
+ }
+ }
+ }
+
+ </script>
</body>
</html>