mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-24 10:23:17 +00:00
Merge pull request #751 from nlegoff/fix_ie_edit
[3.8] Fix #1152 On IE7 editing box is broken
This commit is contained in:
@@ -1035,7 +1035,7 @@ function cleanTags(string)
|
|||||||
}, {
|
}, {
|
||||||
'f':">",
|
'f':">",
|
||||||
't':">"
|
't':">"
|
||||||
}, ];
|
} ];
|
||||||
for(c in chars2replace)
|
for(c in chars2replace)
|
||||||
string = string.replace(RegExp(chars2replace[c].f,"g") ,chars2replace[c].t);
|
string = string.replace(RegExp(chars2replace[c].f,"g") ,chars2replace[c].t);
|
||||||
return string;
|
return string;
|
||||||
@@ -1929,6 +1929,10 @@ function startThisEditing(sbas_id,what,regbasprid,ssel)
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hsplit1();
|
||||||
|
vsplit2()
|
||||||
|
vsplit1();
|
||||||
|
|
||||||
$('#EDIT_TOP', p4.edit.editBox).resizable({
|
$('#EDIT_TOP', p4.edit.editBox).resizable({
|
||||||
handles : 's',
|
handles : 's',
|
||||||
minHeight:100,
|
minHeight:100,
|
||||||
@@ -1958,7 +1962,7 @@ function startThisEditing(sbas_id,what,regbasprid,ssel)
|
|||||||
});
|
});
|
||||||
|
|
||||||
$('#EDIT_MID_R')
|
$('#EDIT_MID_R')
|
||||||
.css('left', $('#EDIT_MID_R').position().left)
|
.css('left', $('#EDIT_MID_L').position().left + $('#EDIT_MID_L').width() + 15)
|
||||||
.resizable({
|
.resizable({
|
||||||
handles : 'w',
|
handles : 'w',
|
||||||
minWidth:200,
|
minWidth:200,
|
||||||
@@ -2114,10 +2118,6 @@ $('#EDIT_MID_R')
|
|||||||
|
|
||||||
ETHSeeker = new EditThesaurusSeeker(p4.edit.sbas_id);
|
ETHSeeker = new EditThesaurusSeeker(p4.edit.sbas_id);
|
||||||
|
|
||||||
hsplit1();
|
|
||||||
vsplit2();
|
|
||||||
vsplit1();
|
|
||||||
|
|
||||||
setSizeLimits();
|
setSizeLimits();
|
||||||
|
|
||||||
var p = {
|
var p = {
|
||||||
|
|||||||
Reference in New Issue
Block a user