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