Pman.Tab.PersonList.js
authorbenny <benny@roojs.com>
Fri, 13 Jul 2018 08:20:42 +0000 (16:20 +0800)
committerbenny <benny@roojs.com>
Fri, 13 Jul 2018 08:20:42 +0000 (16:20 +0800)
Pman.Tab.PersonList.js

index f8226d3..b46f094 100644 (file)
@@ -461,7 +461,7 @@ Pman.Tab.PersonList.prototype = {
                     
                     var rec_id = rec.id;
                     
-                    if (!ids.length) {
+                    if (rec_id * 1 < 1) {
                         Roo.MessageBox.alert("Error", "Select row to delete");
                         return;
                     }