diff --git a/htdocs/boxes.php b/htdocs/boxes.php
index 522eeacf519..fb45339d51c 100644
--- a/htdocs/boxes.php
+++ b/htdocs/boxes.php
@@ -55,7 +55,7 @@ function printBoxesArea($user,$areacode)
print '
'."\n";
print "\n\n";
- print ''."\n";
+ print ' '."\n";
$ii=0;
foreach ($boxarray as $key => $box)
@@ -90,7 +90,7 @@ function printBoxesArea($user,$areacode)
print ' ';
print "\n\n";
- print ''."\n";
+ print ' '."\n";
$ii=0;
foreach ($boxarray as $key => $box)
@@ -130,38 +130,29 @@ function printBoxesArea($user,$areacode)
{
print "\n";
print ''."\n";
}
}
diff --git a/htdocs/lib/lib_head.js b/htdocs/lib/lib_head.js
index 32abd7e4a52..b60579b791c 100644
--- a/htdocs/lib/lib_head.js
+++ b/htdocs/lib/lib_head.js
@@ -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
| |