X-Editable无法在Chrome中使用 [英] X-Editable not working in Chrome

查看:355
本文介绍了X-Editable无法在Chrome中使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

X-Editable(bootstrap 2版本)无法正常使用Chrome。当我点击按钮时,没有任何变化(保存和放弃更改)。看起来像x-editable没有响应点击事件。更重要的是,控制台不记录任何错误。适用于firefox 25和IE 10。

X-Editable (bootstrap 2 version) is not working Chrome properly. When I click buttons, nothing changes (both save and discard changes). Looks like x-editable didn't respond to click event. What's more, console is not logging any errors. Works in firefox 25 and IE 10.

尝试使用正常和缩小版本。

Tried to use normal and minified version.

推荐答案

我找到了解决方案。它与这个问题有关。事实证明,如果与是(':visible')语句在Chrome和FF中返回不同的值,因此x可编辑的表单不会隐藏。

I've found solution. It's related to this question. It turned out, that "if" with "is(':visible')" statement returns different values in Chrome and FF, so x-editable form is not hidding.

这篇关于X-Editable无法在Chrome中使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆