1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-07-09 23:56:26 +02:00
Files
php-monstra/admin/themes/default/js/default.js
2013-01-27 20:42:14 +02:00

26 lines
816 B
JavaScript

/**
* Monstra JS module
* @package Monstra
* @author Romanenko Sergey / Awilum
* @copyright 2012 Romanenko Sergey / Awilum
* @version $Id$
* @since 1.0.0
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* Monstra is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYING.txt for copyright notices and details.
* @filesource
*/
/* Confirm delete */
function confirmDelete(msg){var data=confirm(msg+" ?"); return data;}
$(document).ready(function() {
$('#sections option').click(function() {
window.location = $(this).attr('rel');
});
});