适用于Asp.Net MVC Https azure

时间:2015-12-09 10:53:01

标签: footable

我们在Asp.net Mvc应用程序中使用footable。它在http上运行时工作正常。 但是,当我们从Azure运行https上的相同应用程序时,它失败并显示错误:

(function ($, w, undefined) {
    if (w.footable === undefined || w.footable === null)
        throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.');

一些想法? 什么是捆绑中的footable的最佳实践,以及将其放在_Layout文件中的位置?

1 个答案:

答案 0 :(得分:0)

该错误似乎来自其中一个FooTable扩展(分页,过滤等)。该错误可能是由于其中一个扩展在FooTable核心脚本本身之前加载而引起的。

您使用的是哪个版本的FooTable?您可能正在使用V2? 如果是这样,请尝试包含footable.all.min.js,因为它包含单个文件中的核心footable和基本扩展