mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
shared toolbar radio button style is working. just need to store state.
This commit is contained in:
17
UI/Shared/Toolbar/ButtonModel.js
Normal file
17
UI/Shared/Toolbar/ButtonModel.js
Normal file
@@ -0,0 +1,17 @@
|
||||
"use strict";
|
||||
define(['app'], function () {
|
||||
|
||||
NzbDrone.Shared.Toolbar.ActionTypes =
|
||||
{
|
||||
RouteTrigger: 'RouteTrigger',
|
||||
CallBack : 'CallBack'
|
||||
};
|
||||
|
||||
NzbDrone.Shared.Toolbar.ButtonModel = Backbone.Model.extend({
|
||||
defaults: {
|
||||
'target' : '/nzbdrone/route',
|
||||
'title' : '',
|
||||
'active' : false,
|
||||
'tooltip': undefined }
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user