mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-29 03:05:49 +00:00
3638d85314
started adding support for a global tool bar.
17 lines
404 B
JavaScript
17 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
|
|
}
|
|
});
|
|
});
|