made changes status indicator view configurable...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-06-17 03:50:25 +03:00
parent 13fcd85e69
commit 239ea3d346

View File

@ -85,6 +85,7 @@ var StatusBarActions = actions.Actions({
'live-update-on-edit': false,
},
'status-bar-changes-text': '*',
},
__statusbar_elements__: {
@ -231,7 +232,7 @@ var StatusBarActions = actions.Actions({
.attr('info', 'Unsaved changes')
}
item.text(this.changes !== false ? '*' : '')
item.html(this.changes !== false ? this.config['status-bar-changes-text'] || '*' : '')
return item
},