Sha256: 798499e05ed95ebc04c993dcb71c7274090c3c6ffbfb7015b333a133ee9500af
Contents?: true
Size: 1.35 KB
Versions: 1
Compression:
Stored size: 1.35 KB
Contents
/** Copyright 2014 Red Hat, Inc. This software is licensed to you under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License (GPLv2) or (at your option) any later version. There is NO WARRANTY for this software, express or implied, including the implied warranties of MERCHANTABILITY, NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should have received a copy of GPLv2 along with this software; if not, see http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. */ KT.notices_list = (function() { var deleteAll = function(e) { $('#notification_list').empty(); }; return { deleteAll: deleteAll }; })(); $(document).ready(function() { $('#dialog_content').dialog({ resizable: false, autoOpen: false, height: 400, width: 700, maxWidth: 700, modal: true, title: 'Additional Details' }); $('.details').bind('click', function(){ var button = $(this); $.ajax({ type: "GET", url: button.attr('data-url'), cache: false, success: function(data, status, xhr) { $('#dialog_content').html('<pre style="text-indent:0;">' + data + '</pre>').dialog('open'); }, error: function(data, status, xhr) { alert("failure"); } }); }); $('.search').fancyQueries(); });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
katello-2.2.2 | app/assets/javascripts/katello/notices/notices_list.js |