summaryrefslogtreecommitdiff
path: root/public/index.html
diff options
context:
space:
mode:
authorFreeyorp <TheFreeYorp@NOSPAM.G.m.a.i.l.replace>2013-05-27 02:54:11 +1200
committerFreeyorp <TheFreeYorp@NOSPAM.G.m.a.i.l.replace>2013-05-27 02:54:11 +1200
commit751f746d817ce8059d87afbb365d3b340cad9d7c (patch)
tree47eb6f96b9de556f19ec49ec9db82d6c12088ca4 /public/index.html
parentdff6bad7c5fde8188d4cb59a597bb93b6baf9ff2 (diff)
downloadmanavis-751f746d817ce8059d87afbb365d3b340cad9d7c.tar.gz
manavis-751f746d817ce8059d87afbb365d3b340cad9d7c.tar.bz2
manavis-751f746d817ce8059d87afbb365d3b340cad9d7c.tar.xz
manavis-751f746d817ce8059d87afbb365d3b340cad9d7c.zip
Disable controls until init has finished
Before, if you were quick or your connection was slow, you could select the files before mv.init registers the callback. This left things stuck, either requiring another set of files to be selected, or a refresh of the page. This closes #18.
Diffstat (limited to 'public/index.html')
-rw-r--r--public/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/index.html b/public/index.html
index e3ad3c3..f51f8b7 100644
--- a/public/index.html
+++ b/public/index.html
@@ -76,9 +76,9 @@
<p>You can load any number of files at once.</p>
<p>Please note that this is very js intensive. The tab may briefly lock up as it loads everything.</p>
<div>
- <input type="file" id="input" name="records[]" multiple />
+ <input type="file" id="input" name="records[]" multiple disabled />
<output id="list"></output>
- or <a href="javascript:mv.loader.use(['/logs/map.scrubbed.latest.zip']);" class="button">Use the most recent dataset</a>
+ or <a id="latest-link" href="javascript:mv.loader.use(['/logs/map.scrubbed.latest.zip']);" class="button disabled-button">Use the most recent dataset</a>
</div>
<div id="filesbar" class="progressbar fader">
<div class="percent">0%</div>