studio - revises error message copy when section name is left blank on outline view

This commit is contained in:
Brian Talbot
2013-05-16 16:33:32 -04:00
committed by David Baumgold
parent c628a8a360
commit 7ae534799b

View File

@@ -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();