mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-01 00:12:30 +01:00
3638d85314
started adding support for a global tool bar.
18 lines
404 B
JavaScript
18 lines
404 B
JavaScript
"use strict";
|
|
define(['app'], function () {
|
|
|
|
NzbDrone.Shared.Toolbar.CommandTypes =
|
|
{
|
|
RouteTrigger: 'RouteTrigger'
|
|
};
|
|
|
|
NzbDrone.Shared.Toolbar.CommandModel = Backbone.Model.extend({
|
|
defaults: {
|
|
'target' : '/nzbdrone/route',
|
|
'title' : 'Title Goes Here',
|
|
'alignment': 'left',
|
|
'tooltip' : undefined
|
|
}
|
|
});
|
|
});
|