New rss.js from Harry and fix html form for assets

This commit is contained in:
chris2tof authored and Christophe Vilayphiou committed 2012-01-24 11:56:08 +08:00
1 parent 68ad208777
commit b04d845a5a
3 files changed
+16 -8

No files matched your search

+2 -2
View File
@@ -429,7 +429,7 @@ modalWindow : function(settings,callbackFn){
tempwidth=maxwidth;
rgWLeft=(rgmaskWidth-tempwidth)/2;
}
tempwidth+=25;
tempwidth=parseInt(tempwidth)+25;
$rss("#rgWindow").empty().show();
var closebtn = "";
if(closeBtn)
@@ -508,7 +508,7 @@ modalWindowUpdate : function(settings,callbackFn){
tempwidth=maxwidth;
rgWLeft=(rgmaskWidth-tempwidth)/2;
}
tempwidth+=25;
tempwidth=parseInt(tempwidth)+25;
$rss("#rgContent").empty();
$rss("#rgWindow").animate({"width":tempwidth+"px","height":tempheight+"px",top:rgWTop+"px", left:rgWLeft+"px"},500,function(){$rss("#rgContent").css("height",tempheight+"px").html(dhtml)});
$rss("#rgwindow_temp_div").remove();