mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
Merge pull request #503 from romainneutron/fix-1314
[3.8] Fix #1314 : Fix editing modal resize
This commit is contained in:
@@ -1954,19 +1954,21 @@ function startThisEditing(sbas_id,what,regbasprid,ssel)
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#EDIT_MID_R', p4.edit.editBox).resizable({
|
$('#EDIT_MID_R')
|
||||||
handles : 'w',
|
.css('left', $('#EDIT_MID_R').position().left)
|
||||||
minWidth:200,
|
.resizable({
|
||||||
resize:function(){
|
handles : 'w',
|
||||||
vsplit2();
|
minWidth:200,
|
||||||
setPreviewEdit();
|
resize:function(){
|
||||||
},
|
vsplit2();
|
||||||
stop:function(){
|
setPreviewEdit();
|
||||||
setPref('editing_left_box', Math.floor($('#EDIT_MID_R').width() * 100 / $('#EDIT_MID').width()) + '%');
|
},
|
||||||
vsplit2();
|
stop:function(){
|
||||||
setSizeLimits();
|
setPref('editing_left_box', Math.floor($('#EDIT_MID_R').width() * 100 / $('#EDIT_MID').width()) + '%');
|
||||||
}
|
vsplit2();
|
||||||
});
|
setSizeLimits();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
$('#EDIT_ZOOMSLIDER', p4.edit.editBox).slider({
|
$('#EDIT_ZOOMSLIDER', p4.edit.editBox).slider({
|
||||||
min:60,
|
min:60,
|
||||||
|
Reference in New Issue
Block a user