Fixed issue #897 - Schedules - Disable Notification not changable.
This commit is contained in:
parent
7dfa5e546f
commit
91033177b3
1 changed files with 17 additions and 17 deletions
|
@ -1,5 +1,5 @@
|
||||||
class App.Job extends App.Model
|
class App.Job extends App.Model
|
||||||
@configure 'Job', 'name', 'timeplan', 'condition', 'perform', 'disable_notiifcation', 'note', 'active'
|
@configure 'Job', 'name', 'timeplan', 'condition', 'perform', 'disable_notification', 'note', 'active'
|
||||||
@extend Spine.Model.Ajax
|
@extend Spine.Model.Ajax
|
||||||
@url: @apiPath + '/jobs'
|
@url: @apiPath + '/jobs'
|
||||||
@configure_attributes = [
|
@configure_attributes = [
|
||||||
|
@ -7,7 +7,7 @@ class App.Job extends App.Model
|
||||||
{ name: 'timeplan', display: 'When should the job run?', tag: 'timer', null: true },
|
{ name: 'timeplan', display: 'When should the job run?', tag: 'timer', null: true },
|
||||||
{ name: 'condition', display: 'Conditions for effected objects', tag: 'ticket_selector', null: true },
|
{ name: 'condition', display: 'Conditions for effected objects', tag: 'ticket_selector', null: true },
|
||||||
{ name: 'perform', display: 'Execute changes on objects', tag: 'ticket_perform_action', null: true },
|
{ name: 'perform', display: 'Execute changes on objects', tag: 'ticket_perform_action', null: true },
|
||||||
{ name: 'disable_notiifcation', display: 'Disable Notifications', tag: 'boolean', default: true },
|
{ name: 'disable_notification', display: 'Disable Notifications', tag: 'boolean', default: true },
|
||||||
{ name: 'note', display: 'Note', tag: 'textarea', note: 'Notes are visible to agents only, never to customers.', limit: 250, null: true },
|
{ name: 'note', display: 'Note', tag: 'textarea', note: 'Notes are visible to agents only, never to customers.', limit: 250, null: true },
|
||||||
{ name: 'active', display: 'Active', tag: 'active', default: true },
|
{ name: 'active', display: 'Active', tag: 'active', default: true },
|
||||||
{ name: 'matching', display: 'Will process', readonly: 1 },
|
{ name: 'matching', display: 'Will process', readonly: 1 },
|
||||||
|
|
Loading…
Reference in a new issue