phpcms 后台推送功能 SCRIPT87: 参数无效 dialog.js, 行1030 字符5
phpcms 后台推送功能弹窗解决办法,不能正常弹出窗口,IE可以弹出一次后就不能在次弹出
错误效果如下:
	
解决办法:
找到 您网站根目录/static/js/dialog.js 的1030行代码,把1030行和1031行代码注释掉。就可以正常弹出了,此方法是临时解决办法,具体解决办法可以等待PHPCMS官方的补丁。
修改后代码为:
| 
// 新增内容后调整位置
		if (!arguments[1]) {
			if (that.config.follow) {
				that.follow(that.config.follow);
			} else {
				width = wrap.offsetWidth - width;
				height = wrap.offsetHeight - height;
				left = left - width / 2;
				top = top - height / 2;
				//wrap.style.left = Math.max(left, 0) + 'px'; 此行隐藏
				//wrap.style.top = Math.max(top, 0) + 'px';  此行隐藏
			};
			if (cssWidth && cssWidth !== 'auto') {
				wrap.style.width = wrap.offsetWidth + 'px';
			};
			that._autoPositionType();
		};
		 | 



