Commit cf188ccc by Иван Кубота

handle third ajax error case

parent fc291900
...@@ -126,8 +126,10 @@ ...@@ -126,8 +126,10 @@
}else{ }else{
if(data.error){ if(data.error){
reject( data.data ); reject( data.data );
}else{ }else if(data.error === false){
resolve( data.data ); resolve( data.data );
}else{
resolve( data );
} }
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment