这些backbone.js方法(获取和销毁)在adobe aem CQ5.6中运行良好,现在我已经更新到CQ6.3。功能现在无法运行。
获取方法 -
fetch({
url: contextPath+"/bin/servletpath/updatemessage",
data: data,
add: true,
cache: false,
success: (successCallback ? successCallback : function(){
self.allowRequests = true;
}),
error: (errorCallback ? errorCallback : function(){
self.allowRequests = true;
})
});
最佳答案
来自 jQuery 文档:
Deprecation Notice: The
jqXHR.success()
,jqXHR.error()
, andjqXHR.complete()
callbacks are removed as of jQuery 3.0. You can usejqXHR.done()
,jqXHR.fail()
, andjqXHR.always()
instead.
他们可能升级到 jQuery 3.0
关于javascript - Adobe aem cq6.3 不支持backbone.js 的方法、destroy 和 fetch,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46072283/