publishing
This commit is contained in:
parent
d554cb48b9
commit
f1cbda7162
5 changed files with 2283 additions and 4 deletions
2
Yavsc/wwwroot/js/site.min.js
vendored
2
Yavsc/wwwroot/js/site.min.js
vendored
|
|
@ -1 +1 @@
|
|||
+function(o){var t=function(t){var e=o(this).prop("checked"),c=o(this).data("circle-id"),n=o(this).data("target-id"),a={CircleId:c,BlogPostId:n},i="/api/blogacl";e||(i+="/"+c),console.log(a),o.ajax({url:i,type:e?"POST":"DELETE",data:JSON.stringify(a),contentType:"application/json;charset=utf-8",success:function(o){console.log("POSTED")},error:function(){console.log("POSTed")}}),t.preventDefault()};o(document).ready(function(){o("input.Blogcirle[type=checkbox]").on("change",t)})}(jQuery);
|
||||
+function(n){}(jQuery);
|
||||
Loading…
Add table
Add a link
Reference in a new issue