2
0
forked from Wavyzz/dolibarr

New: Drag and drop on home page is now done by jquery

This commit is contained in:
Laurent Destailleur
2010-08-22 22:49:13 +00:00
parent 629f782f17
commit becb9099a6
2 changed files with 27 additions and 80 deletions

View File

@@ -640,7 +640,8 @@ function ac_return(field, val){
/*=================================================================
Purpose: Clean values of a "Sortable.serialize". Used by drag and drop.
Purpose: Clean values of a "Sortable.serialize".
Used by drag and drop. Works for Scriptaculous and jQuery.
Input: expr
Author: Regis Houssin
Licence: GPL
@@ -654,51 +655,6 @@ function cleanSerialize(expr) {
}
/*=================================================================
Purpose: Show a confim popup (Use PWC)
Input: title,linkurlyes,linkurlno,message,ok,cancel,objectID
Author: Regis Houssin, Laurent Destailleur
Licence: GPL
==================================================================*/
/* @deprecated Replaced by jquery code
function dialogConfirm(title,linkurlyes,linkurlno,message,ok,cancel,objectID) {
Dialog.confirm(message, {
width:560,
okLabel: ok,
cancelLabel: cancel,
buttonClass: "buttonajax",
id: objectID,
destroyOnClose: true,
ok:function(win) {window.location.href=linkurlyes; return true;},
cancel:function(win) { if (linkurlno!='') { window.location.href=linkurlno; return true; } }
});
}
*/
/*=================================================================
Purpose: Affiche une fenetre (Use PWC)
Input: message
Author: Regis Houssin
Licence: GPL
==================================================================*/
/* @deprecated Replaced by jquery code
function dialogWindow(message,windowTitle) {
var win = new Window({className: "dialog",
width:600,
height:400,
zIndex: 100,
resizable: false,
title: windowTitle,
showEffect:Effect.BlindDown,
hideEffect: Effect.SwitchOff,
draggable:true
})
win.getContent().update(message);
win.showCenter();
}
*/
/*=================================================================
Purpose: Display a temporary message in input text fields (For showing help message on input field).
Input: fieldId