Browse Source

Updated public

north 7 years ago
parent
commit
2e2f5a3ee9
1 changed files with 5 additions and 1 deletions
  1. 5 1
      www/protected/views/rEmploye/index.php

+ 5 - 1
www/protected/views/rEmploye/index.php

@@ -436,7 +436,11 @@
         jq_setStatus.combobox('setValue', row.status);
         var flag = '#flag'+row.flag;
         console.log(flag);
-        $(flag).attr('checked',true);
+        if (flag) {
+          $('#flag1').attr('checked',true);
+        } else {
+          $('#flag0').attr('checked',true);
+        }
       },
       onLoadSuccess : function () {
         $('#xorder_id').html('');