[Mapbender-commits] r5870 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Apr 7 07:48:16 EDT 2010
Author: verenadiewald
Date: 2010-04-07 07:48:15 -0400 (Wed, 07 Apr 2010)
New Revision: 5870
Modified:
trunk/mapbender/http/plugins/jq_upload.js
Log:
added mod_blank.html to iframe
Modified: trunk/mapbender/http/plugins/jq_upload.js
===================================================================
--- trunk/mapbender/http/plugins/jq_upload.js 2010-04-06 13:02:05 UTC (rev 5869)
+++ trunk/mapbender/http/plugins/jq_upload.js 2010-04-07 11:48:15 UTC (rev 5870)
@@ -83,7 +83,7 @@
};
var $form = $(
- "<form action='"+ url +"?id=" + id + "' method='post' " +
+ "<form style='margin:0px' action='"+ url +"?id=" + id + "' method='post' " +
"enctype='multipart/form-data' target='" + id + "_target'>" +
"</form>"
).submit(function () {
@@ -95,14 +95,14 @@
return true;
});
$form.append(
- "<p id='" + id + "_form' align='center'><br/>" +
+ "<span id='" + id + "_form' align='center'>" +
"<input name='myfile' type='file' size='"+width+"' />" +
(displaySubmit ? "<input id='" + id + "_submit' type='submit' value='Upload' />": "") +
- "</p>"
+ "</span>"
);
- var iframeStr = "<iframe name='" + id + "_target' id='" + id + "_target' src='#' " +
+ var iframeStr = "<iframe name='" + id + "_target' id='" + id + "_target' src='../html/mod_blank.html' " +
"style='width:0;height:0;border:0px solid #fff;'></iframe>";
$("body").eq(0).append(iframeStr);
More information about the Mapbender_commits
mailing list