summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorBjörn Geiger2011-10-27 16:09:31 +0200
committerBjörn Geiger2011-10-27 16:09:31 +0200
commit2a8868e7687894bee161dd602221abf187cafae4 (patch)
tree851f103209e79f8c2205092c403b4743f60ea8bb /public
parentMerge branch 'master' of git.openslx.org:lsfks/projekte/poolctrl (diff)
downloadpoolctrl-2a8868e7687894bee161dd602221abf187cafae4.tar.gz
poolctrl-2a8868e7687894bee161dd602221abf187cafae4.tar.xz
poolctrl-2a8868e7687894bee161dd602221abf187cafae4.zip
Edit weiter korrigiert
Diffstat (limited to 'public')
-rwxr-xr-xpublic/index.php6
-rwxr-xr-xpublic/media/js/script.js6
2 files changed, 7 insertions, 5 deletions
diff --git a/public/index.php b/public/index.php
index c7c26a6..93036a7 100755
--- a/public/index.php
+++ b/public/index.php
@@ -32,11 +32,7 @@ APPLICATION_ENV,
APPLICATION_PATH . '/configs/application.ini'
);
-// Set Session lifetime
-if(stristr($_SERVER['HTTP_USER_AGENT'],'prebootGUI'))
- Zend_Session::setOptions(array('cookie_lifetime' => null));
-else
- Zend_Session::setOptions(array('cookie_lifetime' => '3600'));
+Zend_Session::setOptions(array('cookie_lifetime' => '3600'));
// Run bootstrap
$application->bootstrap()
diff --git a/public/media/js/script.js b/public/media/js/script.js
index 1829d34..641a24e 100755
--- a/public/media/js/script.js
+++ b/public/media/js/script.js
@@ -285,6 +285,12 @@ function bootosfieldChanged(name, bootosIDs) {
}
}
+function editEnableOnSubmit() {
+ enableElement('repeattype');
+ enableElement('repeatend');
+ return true;
+}
+
function getOverlappingVar() {
if (window.location.href.search(/overlapping/) >= 0) {
index = window.location.href.indexOf('/overlapping/') + 13;