Debut gestion drag and drop des boxes
This commit is contained in:
parent
cd71ea89ef
commit
bf46ee17e9
@ -56,7 +56,7 @@ class ModeleBoxes
|
|||||||
*/
|
*/
|
||||||
function showBox($head, $contents)
|
function showBox($head, $contents)
|
||||||
{
|
{
|
||||||
global $langs;
|
global $langs,$conf;
|
||||||
|
|
||||||
$bcx[0] = 'class="box_pair"';
|
$bcx[0] = 'class="box_pair"';
|
||||||
$bcx[1] = 'class="box_impair"';
|
$bcx[1] = 'class="box_impair"';
|
||||||
@ -71,7 +71,10 @@ class ModeleBoxes
|
|||||||
print '>';
|
print '>';
|
||||||
|
|
||||||
// Affiche titre de la boite
|
// Affiche titre de la boite
|
||||||
print '<tr class="box_titre"><td';
|
print '<tr class="box_titre"';
|
||||||
|
if ($conf->use_ajax) print ' style="cursor:move;"';
|
||||||
|
print '>';
|
||||||
|
print '<td';
|
||||||
if ($nbcol > 0) { print ' colspan="'.$nbcol.'"'; }
|
if ($nbcol > 0) { print ' colspan="'.$nbcol.'"'; }
|
||||||
print '>';
|
print '>';
|
||||||
print dolibarr_trunc($head['text'],isset($head['limit'])?$head['limit']:$this->MAXLENGTHBOX);
|
print dolibarr_trunc($head['text'],isset($head['limit'])?$head['limit']:$this->MAXLENGTHBOX);
|
||||||
|
|||||||
@ -452,7 +452,6 @@ list-style-type:none;
|
|||||||
margin:0px;
|
margin:0px;
|
||||||
padding:0px;
|
padding:0px;
|
||||||
spacing:0px;
|
spacing:0px;
|
||||||
cursor:move;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.notopnoleft {
|
.notopnoleft {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user