You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
523 B

Page.Manage = new Class({
Extends: PageBase,
name: 'manage',
title: 'Do stuff to your existing movies!',
indexAction: function(param){
var self = this;
14 years ago
self.refresh_button = new Element('a.icon.refresh', {
'text': 'Refresh',
'events':{
'click': self.refresh.bind(self)
}
}).inject(self.el);
self.list = new MovieList({
'status': 'done',
14 years ago
'actions': MovieActions
});
$(self.list).inject(self.el);
14 years ago
},
refresh: function(){
var self = this;
Api.request('manage.update')
}
14 years ago
});