I"_(function() { ActiveAdmin.modal_dialog = function(message, inputs, callback) { var elem, html, klass, name, opts, ref, ref1, type, v, wrapper; html = "
"; return $(html).appendTo('body').dialog({ modal: true, dialogClass: 'active_admin_dialog', buttons: { OK: function() { callback($(this).serializeObject()); return $(this).dialog('close'); }, Cancel: function() { return $(this).dialog('close').remove(); } } }); }; }).call(this); :ET