Applying Scott's fix for #1198.

This commit is contained in:
Nick Winter 2014-06-22 07:55:29 -07:00
parent 81f8334f37
commit 8698589625

View file

@ -57,7 +57,6 @@ module.exports = class SaveVersionModal extends ModalView
}
errors = patch.validate()
forms.applyErrorsToForm(@$el, errors) if errors
patch.set 'editPath', document.location.pathname
res = patch.save()
return unless res
@enableModalInProgress(@$el)