mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-22 03:37:25 +08:00
Improving initial size of mediapicker popup. Fixing width/height assignment in gallery view.
--HG-- branch : dev
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
@@ -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" /> x
|
||||
<label for="lib-width">@T("Width")</label>
|
||||
<input class="text-box" type="text" id="lib-width" /> 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>
|
||||
|
||||
|
Reference in New Issue
Block a user