- merge from stable branches (WebUI fixes)

This commit is contained in:
Christophe Dumez
2008-09-14 10:14:54 +00:00
parent 75290cf715
commit 86024c6c74
19 changed files with 64 additions and 540 deletions

View File

@@ -22,12 +22,13 @@
*/
window.addEvent('domready', function(){
$('urls').focus();
$('downButton').addEvent('click', function(e){
new Event(e).stop();
new Ajax('/command/download', {method: 'post', data: {urls: $('urls').value},
new Request({url: '/command/download', method: 'post', data: {urls: $('urls').value},
onComplete: function() {
window.parent.document.getElementById('downloadPage').parentNode.removeChild(window.parent.document.getElementById('downloadPage'));
}
}).request();
}).send();
});
});