PHP Classes

File: htdocs/modules/system/js/module.js

Recommend this page to a friend!
  Classes of Michael Beck   Xoops 2.5   htdocs/modules/system/js/module.js   Download  
File: htdocs/modules/system/js/module.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Xoops 2.5
Modular content management publication system
Author: By
Last change:
Date: 7 years ago
Size: 1,051 bytes
 

Contents

Class file image Download
/* You may not change or alter any portion of this comment or credits of supporting developers from this source code or any supporting source code which is considered copyrighted (c) material of the original comment or credit authors. 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. */ /** * Modules Javascript * * @copyright (c) 2000-2015 XOOPS Project (www.xoops.org) * @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html) * @author Andricq Nicolas (AKA MusS) */ $(document).ready( function(){ // Controls Drag + Drop $('#xo-module-sort tbody.xo-module').sortable({ placeholder: 'ui-state-highlight', update: function(event, ui) { var list = $(this).sortable( 'serialize'); $.post( 'admin.php?fct=modulesadmin&op=order', list ); } } ); } );