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) {
|
showInvalidMessage: function(model, error, options) {
|
||||||
var that = this;
|
var that = this;
|
||||||
var msg = new CMS.Models.ErrorMessage({
|
var msg = new CMS.Models.ErrorMessage({
|
||||||
title: gettext("Validation Error"),
|
title: gettext("Your change could not be saved"),
|
||||||
message: error,
|
message: error,
|
||||||
actions: {
|
actions: {
|
||||||
primary: {
|
primary: {
|
||||||
text: gettext("Dismiss"),
|
text: gettext("Return and resolve this issue"),
|
||||||
click: function(view) {
|
click: function(view) {
|
||||||
view.hide();
|
view.hide();
|
||||||
that.$("input[type=text]").focus();
|
that.$("input[type=text]").focus();
|
||||||
|
|||||||
Reference in New Issue
Block a user