Manage page base

This commit is contained in:
Ruud
2012-01-04 20:15:37 +01:00
parent e9cc59960d
commit 1c75bfb9b0
22 changed files with 378 additions and 129 deletions
+16 -9
View File
@@ -8,19 +8,26 @@ Page.Manage = new Class({
indexAction: function(param){
var self = this;
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',
'actions': Manage.Action
'actions': MovieActions
});
$(self.list).inject(self.el);
},
refresh: function(){
var self = this;
Api.request('manage.update')
}
});
var Manage = {
'Action': {
'IMBD': IMDBAction
}
}