// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

// THis could be a better name, but it'll be used by all who need disabling
var Preview = {}
Preview = {
	disableUpdateForm: function() {
		Element.show('form-indicator');
		Form.disable('preview-form');
	},
	enableUpdateForm: function(form) {
		Element.hide('form-indicator');
		Form.enable('preview-form');
	}
}

