function(ed, cm, n) {
			var ed = this.editor;

			if (ed.getParam('save_enablewhendirty')) {
				cm.setDisabled('save', !ed.isDirty());
				cm.setDisabled('cancel', !ed.isDirty());
			}
		}
function(ed, cm, n) {
			var ed = this.editor;

			if (ed.getParam('save_enablewhendirty')) {
				cm.setDisabled('save', !ed.isDirty());
				cm.setDisabled('cancel', !ed.isDirty());
			}
		}
function ( ed , cm , n ) { var ed = this . editor ; if ( ed . getParam ( 'save_enablewhendirty' ) ) { cm . setDisabled ( 'save' , ! ed . isDirty ( ) ) ; cm . setDisabled ( 'cancel' , ! ed . isDirty ( ) ) ; } }
Private methods
Private methods