mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-28 18:47:52 +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
|
|
}
|
|
});
|
|
});
|