New: Each user can remove/add its own boxes.

This commit is contained in:
Laurent Destailleur
2012-03-19 14:06:21 +01:00
parent 39332c56b7
commit 0b71aceb90
6 changed files with 61 additions and 30 deletions

View File

@@ -578,13 +578,13 @@ function newpopup(url,title) {
* =================================================================
* Purpose:
* Clean values of a "Sortable.serialize". Used by drag and drop.
* Works for Scriptaculous and jQuery.
* Input: expr
* Author: Regis Houssin
* Licence: GPL
* ==================================================================
*/
function cleanSerialize(expr) {
if (typeof(expr) != 'string') return '';
var reg = new RegExp("(&)", "g");
var reg2 = new RegExp("[^A-Z0-9,]", "g");
var liste1 = expr.replace(reg, ",");