修复了一些问题
This commit is contained in:
1 parent
c484ee6ef3
commit
e877ceb560
28 files changed
+565
-535
No files matched your search
@@ -1,20 +1,20 @@
|
||||
//文章导航
|
||||
$("button[evt='action']").on("click", function (t) {
|
||||
jQuery("button[evt='action']").on("click", function (t) {
|
||||
t = t || window.event;
|
||||
var a = t.target || t.srcElement,
|
||||
e = $(a),
|
||||
e = jQuery(a),
|
||||
n = e.parents("form"),
|
||||
r = n.serializeObject(),
|
||||
c = [];
|
||||
return $("#cat-sortable-ok .sortable-cat-item").each(function () {
|
||||
c.push($(this).attr("data-id"));
|
||||
return jQuery("#cat-sortable-ok .sortable-cat-item").each(function () {
|
||||
c.push(jQuery(this).attr("data-id"));
|
||||
}), r.navs_show_cat_id = c, save_userdata(r, aksrt__("save_success"), "reload"), !1;
|
||||
});
|
||||
|
||||
function save_userdata(b, c, d) {
|
||||
notyf(aksrt__("processing_wait"), "load", "", "user_ajax"),
|
||||
c = c || aksrt__("done");
|
||||
$.ajax({
|
||||
jQuery.ajax({
|
||||
type: "POST",
|
||||
url: _win.uri + '/action/post_navs.php',
|
||||
data: b,
|
||||
@@ -30,8 +30,8 @@ function save_userdata(b, c, d) {
|
||||
});
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
$("#cat-sortable").length && tbquire(["sortablejs"], function () {
|
||||
jQuery(document).ready(function () {
|
||||
jQuery("#cat-sortable").length && tbquire(["sortablejs"], function () {
|
||||
var e = document.getElementById("cat-sortable"),
|
||||
t = document.getElementById("cat-sortable-ok"),
|
||||
a = {
|
||||
@@ -43,4 +43,4 @@ $(document).ready(function () {
|
||||
};
|
||||
Sortable.create(e, a), Sortable.create(t, a);
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user