app/assets/javascripts/pageflow/editor/views/locked_view.js in pageflow-0.9.2 vs app/assets/javascripts/pageflow/editor/views/locked_view.js in pageflow-0.10.0
- old
+ new
@@ -12,19 +12,19 @@
'click .break': 'breakLock'
},
modelEvents: {
- aquired: 'hide',
+ acquired: 'hide',
locked: 'show',
unauthenticated: 'goBack'
},
breakLock: function() {
- this.model.aquire({force: true});
+ this.model.acquire({force: true});
},
goBack: function() {
window.location = "/admin/entries/" + pageflow.entry.id;
},
@@ -33,10 +33,10 @@
var key = info.error + '.' + options.context;
this.ui.message.html(I18n.t('pageflow.edit_locks.errors.' + key + '_html', {user_name: info.held_by}));
this.ui.message.attr('data-error', key);
- this.ui.breakButton.text(I18n.t('pageflow.edit_locks.break_action.aquire'));
+ this.ui.breakButton.text(I18n.t('pageflow.edit_locks.break_action.acquire'));
this.$el.removeClass('checking');
this.$el.show();
},
\ No newline at end of file