Fix dialogs in firefox.
parent
a82439975d
commit
41c1113058
|
@ -54,6 +54,9 @@ cp $BASE_DIR/wisemapping.xml $JETTY_DIR/contexts/
|
|||
# Distribute scripts
|
||||
cp -r $BASE_DIR/../wise-webapp/src/test/sql $TARGET_DIR/wisemapping-$WISE_VERSION/config
|
||||
|
||||
# Store version
|
||||
echo $1 $WISE_WEBAPP_DIR/version
|
||||
|
||||
# Zip all ...
|
||||
cd $TARGET_DIR
|
||||
zip -r wisemapping-$WISE_VERSION.zip wisemapping-$WISE_VERSION
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
<!DOCTYPE HTML>
|
||||
|
||||
<div>
|
||||
<iframe src='${url}' style="border: 0;width: 100%;height:100%" id="dialogContentIframe"></iframe>
|
||||
<iframe src='${url}' style="border: 0;width: 100%;height:100%;min-height:400px;overflow-y: auto;"
|
||||
id="dialogContentIframe"></iframe>
|
||||
<div style="float: right;margin-right: 25px">
|
||||
<input type="button" class="btn-primary" value="<spring:message code="ACCEPT"/>" id="submitBtn"/>
|
||||
<input type="button" class="btn-secondary" value="<spring:message code="CANCEL"/>" id="cancelBtn"/>
|
||||
|
@ -12,7 +13,7 @@
|
|||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
$('submitBtn').addEvent('click', function() {
|
||||
$('submitBtn').addEvent('click', function () {
|
||||
var iframeWindow = $('dialogContentIframe').contentWindow;
|
||||
var delay = iframeWindow.submitDialogForm();
|
||||
|
||||
|
@ -25,7 +26,7 @@
|
|||
}
|
||||
});
|
||||
|
||||
$('cancelBtn').addEvent('click', function() {
|
||||
$('cancelBtn').addEvent('click', function () {
|
||||
if (MooDialog.Request.active) {
|
||||
MooDialog.Request.active.close();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue