فهرست منبع

Update replyTicket.blade.php

Bruskyii Panda 7 سال پیش
والد
کامیت
50eee72dc0
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      resources/views/user/replyTicket.blade.php

+ 3 - 2
resources/views/user/replyTicket.blade.php

@@ -157,10 +157,11 @@
         function replyTicket() {
             var content = UE.getEditor('editor').getContent();
 
-            if (content =="" || content == undefined) {
+            if (content == "" || content == undefined) {
                 layer.alert('您未填写工单内容', {icon: 2, title:'提示'});
                 return false;
             }
+            
             layer.confirm('确定回复工单?', {icon: 3, title:'提示'}, function(index) {
                 $.post("{{url('replyTicket')}}",{_token:'{{csrf_token()}}', id:'{{$ticket->id}}', content:content}, function(ret) {
                     layer.msg(ret.message, {time:1000}, function() {
@@ -173,4 +174,4 @@
             });
         }         
     </script>
-@endsection
+@endsection