Error defaut resize : elFinder 2.0 beta
Added by Miser Shadows 4 months ago
Ver : elFinder 2.0 beta demo - Mac OS X 10.7.2 - Safari 5.1.2
Hello,
when you open the resize command and that we do not check the box there is an error: errCmdParams resize.
To correct this error you must change line 36:. append ('<input type="radio" checked="checked" name="type" id="type-resize" value="resize"/> <label for="type-resize">' + fm.i18n ('resize')+'')
by:. append ('<input type="radio" name="type" id="type-resize" value="resize" checked="checked"/> <label for="type-resize">' + fm.i18n ('resize')+'')
Just a small contribution to this great program.
Add in line 116 after .load(function() { :
if (($("#type-crop").is(':checked')) || ($("#type-resize").is(':checked')))
{
}
else
{
$("#type-resize").attr("checked", "checked");
}
I'm a novice in jquery but i think it's good cause it works...
Thank you to develop this application
MisterShadows
Replies (3)
RE: Error defaut resize : elFinder 2.0 beta
-
Added by Troex Nevelin 4 months ago
Thanks for the fix, but in latest git version were some major resize changes so maybe this fix is no more needed, I'll check it anyway
RE: Error defaut resize : elFinder 2.0 beta
-
Added by Miser Shadows 4 months ago
Hello,
I think I have the latest version, which version are you talking about?
RE: Error defaut resize : elFinder 2.0 beta
-
Added by Troex Nevelin 4 months ago
I mean latest from git https://github.com/Studio-42/elFinder
(1-3/3)