added command support to toolbar.

This commit is contained in:
kay.one 2013-05-11 16:39:32 -07:00
parent a816a83f3a
commit c8a48d5df3
6 changed files with 136 additions and 36 deletions

View file

@ -147,14 +147,25 @@ define([
route: 'series/add'
},
{
title : 'RSS Sync',
icon : 'icon-rss',
command: 'rsssync'
title : 'RSS Sync',
icon : 'icon-rss',
command : 'rsssync',
successMessage: 'RSS Sync Completed',
errorMessage : 'RSS Sync Failed!'
},
{
title : 'Update Library',
icon : 'icon-refresh',
command: 'updatelibrary'
title : 'Update Library',
icon : 'icon-refresh',
command : 'updatelibrary',
successMessage: 'Library was updated!',
errorMessage : 'Library update failed!'
},
{
title : 'Test Action',
icon : 'icon-asterisk',
command : 'test',
successMessage: 'Test Completed',
errorMessage : 'Test Failed!'
}
]
};