mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02: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
|
|
}
|
|
});
|
|
});
|