Skip to content
Snippets Groups Projects
Commit 2795f827 authored by BinBin's avatar BinBin
Browse files

삭제시 프로필 화면으로 이동하도록 수정

parent 367c1523
No related branches found
No related tags found
No related merge requests found
...@@ -145,12 +145,13 @@ ...@@ -145,12 +145,13 @@
dataType: "json", dataType: "json",
success: function (data){ success: function (data){
alert(data.message); alert(data.message);
if ( '{{feed_type}}'=='False') { // if ( '{{feed_type}}'=='False') {
location.replace("{% url 'main'%}?type=photozone"); // location.replace("{% url 'main'%}?type=photozone");
} // }
else { // else {
location.replace("{% url 'main'%}?type=scene"); // location.replace("{% url 'main'%}?type=scene");
} // }
location.replace("{% url 'profile'%}");
}, },
error:function (request, status, error){ error:function (request, status, error){
let data = JSON.parse(request.responseText); let data = JSON.parse(request.responseText);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment