// WontoMedia - a wontology web application
// Copyright (C) 2011 - Glen E. Ivey
// www.wontology.com
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License version
// 3 as published by the Free Software Foundation.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program in the file COPYING and/or LICENSE. If not,
// see
An item cannot be deleted as long as it is referenced by a " + "connection. Change or delete all of the connections referencing " + "this item first if you want to delete this item.
", { title: "Cannot delete this item now", slideDownDuration: 0.25, slideUpDuration: 0.1 } ); } // establish special class making links use fancybox jQuery(document).ready(function() { jQuery('.iframeBox').fancybox({ 'titlePosition' : 'inside', 'titleFormat' : function(){ return "" + "Click outside box or type 'ESC' to close"; }, 'transitionIn' : 'elastic', 'transitionOut' : 'elastic', 'width' : '80%', 'type' : 'iframe' }); }); function dynamic_alert_show_box(){ Cookie.set( alert_cookie_name, "false" ); document.getElementById('alert_box').style.display = 'block'; document.getElementById('alert_show_link').style.display = 'none'; } function dynamic_alert_show_link(){ Cookie.set( alert_cookie_name, "true" ); document.getElementById('alert_box').style.display = 'none'; document.getElementById('alert_show_link').style.display = 'block'; }