Improving initial size of mediapicker popup. Fixing width/height assignment in gallery view.

--HG--
branch : dev
This commit is contained in:
Dave Reed
2011-02-22 10:27:33 -08:00
parent aed0e3fb58
commit a58650076c
2 changed files with 5 additions and 5 deletions

View File

@@ -20,7 +20,7 @@
+ "&callback=" + callbackName
+ "&editmode=" + (!!(data.img && data.img.src))
+ "&" + (new Date() - 0);
var w = window.open(url, "_blank", data.windowFeatures || "width=800,height=600,status=no,toolbar=no,location=no,menubar=no,resizable=no");
var w = window.open(url, "_blank", data.windowFeatures || "width=685,height=540,status=no,toolbar=no,location=no,menubar=no,resizable=no");
if (w.jQuery && w.jQuery.mediaPicker) {
w.jQuery.mediaPicker.init(data);
}

View File

@@ -115,12 +115,12 @@
<li class="group">
<div class="image-width">
<label for="img-width">@T("Width")</label>
<input class="text-box" type="text" id="img-width" />&nbsp;x
<label for="lib-width">@T("Width")</label>
<input class="text-box" type="text" id="lib-width" />&nbsp;x
</div>
<div class="image-height">
<label for="img-height">@T("Height")</label>
<input class="text-box" type="text" id="img-height" />
<label for="lib-height">@T("Height")</label>
<input class="text-box" type="text" id="lib-height" />
</div>
</li>