Fix iframeWindow.submitDialogForm is not a function, line:4, :http://app.wisemapping.com/c/maps/163/edit
nullmain
parent
878a040708
commit
a442c487e4
|
@ -15,7 +15,7 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$('submitBtn').addEvent('click', function () {
|
$('submitBtn').addEvent('click', function () {
|
||||||
var iframeWindow = $('dialogContentIframe').contentWindow;
|
var iframeWindow = $('dialogContentIframe').contentWindow;
|
||||||
if (iframeWindow) {
|
if (iframeWindow && (typeof iframeWindow.submitDialogForm == 'function')) {
|
||||||
var delay = iframeWindow.submitDialogForm();
|
var delay = iframeWindow.submitDialogForm();
|
||||||
if (MooDialog.Request.active) {
|
if (MooDialog.Request.active) {
|
||||||
if (!delay) {
|
if (!delay) {
|
||||||
|
|
Loading…
Reference in New Issue