Changeset 42458
- Timestamp:
- 01/15/2018 11:50:57 PM (7 years ago)
- Location:
- branches/4.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.9
-
branches/4.9/src/wp-admin/js/widgets/custom-html-widgets.js
r41957 r42458 205 205 */ 206 206 onUpdateErrorNotice: function onUpdateErrorNotice( errorAnnotations ) { 207 control.saveButton.toggleClass( 'validation-blocked disabled', errorAnnotations.length );207 control.saveButton.toggleClass( 'validation-blocked disabled', errorAnnotations.length > 0 ); 208 208 control.updateErrorNotice( errorAnnotations ); 209 209 }
Note: See TracChangeset
for help on using the changeset viewer.