Commit 9e517273 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Controla casos de error con formularios

parent 0cab0010
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ define([

		_afterShowNodesCreation: function() {

			put(this._moduleOwnNode, '[required=' + this._inputProps.required + ']');
			this._moduleOwnNode && put(this._moduleOwnNode, '[required=' + this._inputProps.required + ']');
		},

		_createInputNodes: function() {
+2 −1
Original line number Diff line number Diff line
@@ -46,7 +46,8 @@ define([
			this.categoryFormConfig = this._merge([{
				parentChannel: this.getChannel(),
				template: 'maintenance/views/templates/forms/CategoryLayer',
				modelTarget: this.editionTarget
				modelTarget: this.editionTarget,
				lockBackground: true
			}, this.categoryFormConfig || {}]);
		},