- Started work on program preferences in Web UI

This commit is contained in:
Christophe Dumez
2009-11-26 08:10:23 +00:00
parent 52ac94cc73
commit 9a16a9d11b
8 changed files with 121 additions and 14 deletions

View File

@@ -23,7 +23,7 @@ initializeWindows = function(){
new Event(e).stop();
new MochaUI.Window({
id: 'downloadPage',
title: "(Download from URL)",
title: "_(Download from URL)",
loadMethod: 'iframe',
contentURL:'download.html',
scrollbars: false,
@@ -37,6 +37,24 @@ initializeWindows = function(){
});
});
addClickEvent('preferences', function(e) {
new Event(e).stop();
new MochaUI.Window({
id: 'preferencesPage',
title: "_(Preferences)",
loadMethod: 'iframe',
contentURL:'preferences.html',
scrollbars: false,
resizable: false,
maximizable: false,
closable: true,
paddingVertical: 0,
paddingHorizontal: 0,
width: 500,
height: 270
});
});
addClickEvent('upload', function(e){
new Event(e).stop();
new MochaUI.Window({