Sha256: 6f9a66a6d963b975ea09fd71fb6ff2866dd3f23a30b824d7ff5fcef9a75464fe
Contents?: true
Size: 839 Bytes
Versions: 14
Compression:
Stored size: 839 Bytes
Contents
I";(function() { $.extend(Alchemy, { TrashWindow: { open: function(page_id, title) { var url; url = Alchemy.routes.admin_trash_path(page_id); this.current = new Alchemy.Dialog(url, { title: title, size: '380x460', modal: false }); this.current.open(); }, refresh: function() { if (this.current) { this.current.reload(); } }, updateIcon: function() { var $icon; if (this.current == null) { return; } $icon = $("#element_trash_button .icon"); if ($("#trash_items div.element-editor").not(".dragged").length === 0) { $icon.removeClass("full"); } else { $icon.addClass("full"); } } } }); }).call(this); :ET
Version data entries
14 entries across 11 versions & 2 rubygems