很奇怪,但我正在发生...磁版本是 EE 1.12

  • 日历在前端正常工作
  • 它在正常页面上的管理后端很好地工作enter image description here
  • 但是,当日历在弹出页面中时,它不起作用。...(尝试从管理员后端创建订单,添加产品,配置,并尝试选择日期,如果您获得了一些具有自定义选项的产品(日期时间选择器) )...看到这个enter image description here

我正在尝试解决这个问题一个多月,没有成功...我尝试查看源代码,看起来calendar.js,calendar_setup.js和其他文件包括在内在上面..

不知道我应该这样做,但是要获得更多的观点和可能的解决方案,我问了 这里

任何想法?

谢谢

有帮助吗?

解决方案

我在1.8.1上遇到了这个问题,发现z索引是空的。我假设它正在连接到DOM错误,因为它使用了一些KHTML浏览器专业代码。无论如何,我通过添加了它再次工作

Cal.Element.Style.Zindex = 99999;

在calendar-stetup.js中

像这样

else cal.showat(params.position [0],params.position [1]); Cal.Element.Style.Zindex = 99999;返回false;

它仍然沿着左侧,但可以工作!

其他提示

压制器弹出窗口正确吗?它在左侧吗?

如果您不能单击任何内容,则有一些元素。您是否检查过“模糊”是否覆盖了?打开firebug并尝试单击“光”,然后选择挡住您的元素。

这对我有用

js\calendar/calendar-setup.js在JS文件中添加以下代码

 else cal.showAt(params.position[0], params.position[1]); cal.element.style.zIndex = 99999; return false;

skin\adminhtml/default/default/css/tinybox/style.css

.calendar { background: none repeat scroll 0 0 #d4d0c8; border-color: #fff #000 #000 #fff; border-style: solid; border-width: 2px; color: #000; cursor: default; }

任何人这个问题都来了,我们可以做到这一点,非常有用

我对自定义主题也有类似的问题。 styles.css 主题。它可以正常工作

.calendar {
background: none repeat scroll 0 0 #d4d0c8;
border-color: #fff #000 #000 #fff;
border-style: solid;
border-width: 2px;
color: #000;
cursor: default;
display: none;
font-family: tahoma,verdana,sans-serif;
font-size: 11px;
position: relative;
z-index: 1 !important;
}
许可以下: CC-BY-SA归因
scroll top