Skip to content
This repository was archived by the owner on Jan 7, 2022. It is now read-only.
This repository was archived by the owner on Jan 7, 2022. It is now read-only.

4.1.6版本下使用弹窗保存,IE可执行,谷歌和火狐等无反应 #79

Description

@GoogleCodeExporter
使用art.dialog.open弹窗点击保存
function doEvaluate(bussId){
    art.dialog.open("<c:url value='/evaluate.do'/>?bussId="+bussId, {
        title: '评价',
        width :500,
        height:320,
        lock : true,
        opacity : 0.4,
        init: function () {
            // 在open()方法中,init会等待iframe加载完毕后执行
        },
        ok: function () {
            var iframe = this.iframe.contentWindow;
            if (!iframe.document.body) {
                return false;
            };
            var modelForm = iframe.document.getElementById('modelForm');
            modelForm.submit();
            art.dialog({
                        id : 'Alert',
                        title : '消息',
                        fixed : true,
                        opacity: .2,
                        content:"操作成功!",
                        ok : function(){
                            window.location.reload();
                        }, 
                        okValue : '确定',
                        icon: 'succeed'
            });

        },
        cancel: true
    });
}
在IE浏览器下可执行,在google和火狐浏览器点击 
保存没有反应。  
请问该如何解决呢?



Original issue reported on code.google.com by hesai....@gmail.com on 24 Sep 2013 at 3:05

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions