publishing
parent
39bae3bb37
commit
ad96d64eb6
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
|||||||
|
+function(t){var e=function(e){var o=t(this).prop("checked"),c=t(this).data("circle-id"),n=t(this).data("target-id"),i={CircleId:c,BlogPostId:n},a="/api/blogacl";o||(a+="/"+c),console.log(i),t.ajax({url:a,type:o?"POST":"DELETE",data:JSON.stringify(i),contentType:"application/json;charset=utf-8",success:function(t){console.log("POSTED")},error:function(){console.log("POSTed")}}),e.preventDefault()};t(document).ready(function(){t("input.Blogcirle[type=checkbox]").on("change",e),t(".input-group.date").datetimepicker()})}(jQuery);
|
||||||
@ -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…
Reference in New Issue