summaryrefslogtreecommitdiff
path: root/static/index.html
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2011-08-24 18:49:29 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2011-08-24 18:49:29 +0200
commit337dab08b623aa0f7cb9ecb112f40a3b1eaab8bb (patch)
treebe30194ccae6e9fa1155bb996b7eea24ffd0f313 /static/index.html
parent8ebb79ffe8f8d6172c7ff664f086ae96863fb4bf (diff)
Moved browser code to the Browser class.old
Diffstat (limited to 'static/index.html')
-rw-r--r--static/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/static/index.html b/static/index.html
index e2f2312..c1c747f 100644
--- a/static/index.html
+++ b/static/index.html
@@ -12,16 +12,16 @@
<div>
<input type="button" value="Close event source" onclick="source.close()" />
<input type="button" value="Open event source" onclick="event_open()" />
- <input type="button" value="Refresh directory" onclick="list(document.getElementById('current-dir').innerHTML.split(': ', 2)[1])" />
+ <input type="button" value="Refresh directory" onclick="browser.list(document.getElementById('current-dir').innerHTML.split(': ', 2)[1])" />
</div>
<div id="search-div">
- <input type="text" id="search-query" onkeypress="do_search(event)" />
+ <input type="text" id="search-query" onkeypress="browser.do_search(event)" />
</div>
<div id="current-dir"></div>
<div id="hpanel">
<span "browser-span">
<span class="list-header">Browse directory</span>
- <a href="#" onclick="add_directory(); return false" id="add-dir">Add all</a>
+ <a href="#" onclick="browser.add_directory(); return false" id="add-dir">Add all</a>
<ul id="song-links"></ul>
</span>
<span id="playlist-span">