From a78e568378dfad13820b4829f857f951ef4cd240 Mon Sep 17 00:00:00 2001
From: digital-gnome <31593470+digital-gnome@users.noreply.github.com>
Date: Mon, 11 Sep 2017 18:52:50 -0400
Subject: [PATCH 1/3] Change storage path text box from url to text
With the text box set as url you can't use a standard unix path
---
web/skins/classic/views/storage.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/skins/classic/views/storage.php b/web/skins/classic/views/storage.php
index b525f24e8..e6b459c5e 100644
--- a/web/skins/classic/views/storage.php
+++ b/web/skins/classic/views/storage.php
@@ -56,7 +56,7 @@ xhtmlHeaders(__FILE__, translate('Storage')." - ".$newStorage['Name'] );
-
+
From a5f010360194c359d1010705f0636fc4fb4c1340 Mon Sep 17 00:00:00 2001
From: digital-gnome <31593470+digital-gnome@users.noreply.github.com>
Date: Mon, 11 Sep 2017 20:26:50 -0400
Subject: [PATCH 2/3] revert jquery change to speed slider
Scale was using getElementById but speed was changed to jquery. It wasn't working so I just changed it to match scale.
---
web/skins/classic/views/js/montagereview.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/skins/classic/views/js/montagereview.js b/web/skins/classic/views/js/montagereview.js
index 5a7c73ede..214b1748b 100644
--- a/web/skins/classic/views/js/montagereview.js
+++ b/web/skins/classic/views/js/montagereview.js
@@ -492,7 +492,7 @@ function clicknav(minSecs,maxSecs,arch,live) {// we use the current time if we c
if ( monitorZoomScale[monitorPtr[i]] < 0.99 || monitorZoomScale[monitorPtr[i]] > 1.01 ) // allow for some up/down changes and just treat as 1 of almost 1
zoomStr += "&z" + monitorPtr[i].toString() + "=" + monitorZoomScale[monitorPtr[i]].toFixed(2);
- var uri = "?view=" + currentView + fitStr + groupStr + minStr + maxStr + currentStr + intervalStr + liveStr + zoomStr + "&scale=" + document.getElementById("scaleslider").value + "&speed=" + speeds[$j("#speedslider").value];
+ var uri = "?view=" + currentView + fitStr + groupStr + minStr + maxStr + currentStr + intervalStr + liveStr + zoomStr + "&scale=" + document.getElementById("scaleslider").value + "&speed=" + document.getElementById("speedslider").value;
window.location = uri;
}
From ab3f15b7c03387254dd7311121e6926afff451d9 Mon Sep 17 00:00:00 2001
From: digital-gnome <31593470+digital-gnome@users.noreply.github.com>
Date: Thu, 14 Sep 2017 12:43:48 -0400
Subject: [PATCH 3/3] Add logic for Archive link on initial load
Javascript appears to control this but it was not firing on initial load. Added php logic.
---
web/skins/classic/views/event.php | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/web/skins/classic/views/event.php b/web/skins/classic/views/event.php
index c83c95adb..b4ee322d0 100644
--- a/web/skins/classic/views/event.php
+++ b/web/skins/classic/views/event.php
@@ -130,8 +130,9 @@ if ( canEdit( 'Events' ) ) {
?>