【问题标题】:X-editable click issue in chromechrome中的X-editable点击问题
【发布时间】:2014-07-12 17:29:17
【问题描述】:

引导版本 3

X-editable 内联模式会产生问题,因为如果字段中没有任何更改,则单击按钮不会隐藏内联表单。我看到过去有人提出过关于它的问题,如下面的帖子所述,但它们已经 8 个月大了,那么这个问题是否已在 X-Editable 插件中修复?如果没有,请指导是否有人为此开发了任何自定义修复程序,以便内联模式也可以在 chrome 中使用。我更喜欢内联模式,然后是 Popup。

X-Editable not working in Chrome

谢谢, 阿米特·丹瓦尔

【问题讨论】:

  • 我还没有找到任何解决这个问题的方法,但在github.com/vitalets/x-editable/issues/211 的帖子中提到了一种解决方法。我已将代码从 hide: function(reason) { if(!this.tip() || !this.tip().is(':visible') || !this.$element.hasClass('editable-打开')){返回; } 隐藏: function(reason) { if(!this.$element.hasClass('editable-open')) { return;它有效,但我不确定它会破坏代码的任何其他部分

标签: jquery google-chrome twitter-bootstrap-3 x-editable


【解决方案1】:

我有同样的问题。原来我错过了 bootstrap-editable.css 文件。包含这个文件解决了我的问题。

看这里 X-Editable not working in Chrome.

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-06-12
    • 1970-01-01
    相关资源
    最近更新 更多