diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-03-29 22:42:20 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-03-29 22:42:20 +0100 |
commit | 265c1a0711e5e50b8507ba35253f2dc55e01f88e (patch) | |
tree | eb67565d511b3b6c84160d27be2f24a590b24a03 /module/web | |
parent | client side settings save, working dl button on dashboard (diff) | |
download | pyload-265c1a0711e5e50b8507ba35253f2dc55e01f88e.tar.xz |
fix in update file info, moved recaptcha back
Diffstat (limited to 'module/web')
-rw-r--r-- | module/web/static/js/models/ConfigHolder.js | 1 | ||||
-rw-r--r-- | module/web/templates/default/dashboard.html | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/module/web/static/js/models/ConfigHolder.js b/module/web/static/js/models/ConfigHolder.js index 37af9d70e..b05b1e14b 100644 --- a/module/web/static/js/models/ConfigHolder.js +++ b/module/web/static/js/models/ConfigHolder.js @@ -34,6 +34,7 @@ define(['jquery', 'backbone', 'underscore', 'app', './ConfigItem'], } }); config.items = items; + // TODO: only set new values on success options = App.apiRequest('saveConfig', {config: config}, options); diff --git a/module/web/templates/default/dashboard.html b/module/web/templates/default/dashboard.html index e8041e700..41da71c6c 100644 --- a/module/web/templates/default/dashboard.html +++ b/module/web/templates/default/dashboard.html @@ -86,6 +86,7 @@ <ul class="dropdown-menu" role="menu">
<li><a href="#" class="btn-delete"><i class="iconf-trash"></i> Delete</a></li>
<li><a href="#" class="btn-restart"><i class="iconf-refresh"></i> Restart</a></li>
+ {# TODO: only show when finished #}
<li><a href="download/<% fid %>" target="_blank" class="btn-dowload"><i class="iconf-download"></i> Download</a></li>
<li><a href="#" class="btn-share"><i class="iconf-share"></i> Share</a></li>
<li class="divider"></li>
|