studio - revises error message copy when section name is left blank on outline view
This commit is contained in:
committed by
David Baumgold
parent
c628a8a360
commit
7ae534799b
@@ -70,11 +70,11 @@ CMS.Views.SectionEdit = Backbone.View.extend({
|
||||
showInvalidMessage: function(model, error, options) {
|
||||
var that = this;
|
||||
var msg = new CMS.Models.ErrorMessage({
|
||||
title: gettext("Validation Error"),
|
||||
title: gettext("Your change could not be saved"),
|
||||
message: error,
|
||||
actions: {
|
||||
primary: {
|
||||
text: gettext("Dismiss"),
|
||||
text: gettext("Return and resolve this issue"),
|
||||
click: function(view) {
|
||||
view.hide();
|
||||
that.$("input[type=text]").focus();
|
||||
|
||||
Reference in New Issue
Block a user