summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
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;