]> source.dussan.org Git - nextcloud-server.git/commitdiff
Merge pull request #3006 from owncloud/===_and_!==_in_files_trashbin-app
authorJörn Friedrich Dreyer <jfd@butonic.de>
Fri, 2 Aug 2013 10:14:24 +0000 (03:14 -0700)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Fri, 2 Aug 2013 10:14:24 +0000 (03:14 -0700)
Use !== and === in files_trashbin app

1  2 
apps/files_trashbin/js/trash.js
apps/files_trashbin/lib/trash.php

index 409e3e59d5a3be3804547ff0f1f36462c978de7d,295bc6951170cb5243af6c5e8d640fcf06da37a0..c3c958b07a77ef9e17f497bd018725ff561a003c
@@@ -16,10 -15,9 +16,10 @@@ $(document).ready(function() 
                                                var row = document.getElementById(result.data.success[i].filename);
                                                row.parentNode.removeChild(row);
                                        }
-                                       if (result.status != 'success') {
+                                       if (result.status !== 'success') {
                                                OC.dialogs.alert(result.data.message, t('core', 'Error'));
                                        }
 +                                      enableActions();
                                });
  
                        });
                                                var row = document.getElementById(result.data.success[i].filename);
                                                row.parentNode.removeChild(row);
                                        }
-                                       if (result.status != 'success') {
+                                       if (result.status !== 'success') {
                                                OC.dialogs.alert(result.data.message, t('core', 'Error'));
                                        }
 +                                      enableActions();
                                });
  
                        });
                                                        var row = document.getElementById(result.data.success[i].filename);
                                                        row.parentNode.removeChild(row);
                                                }
-                                               if (result.status != 'success') {
+                                               if (result.status !== 'success') {
                                                        OC.dialogs.alert(result.data.message, t('core', 'Error'));
                                                }
 +                                              enableActions();
                                        });
                        });
  
                                                        var row = document.getElementById(result.data.success[i].filename);
                                                        row.parentNode.removeChild(row);
                                                }
-                                               if (result.status != 'success') {
+                                               if (result.status !== 'success') {
                                                        OC.dialogs.alert(result.data.message, t('core', 'Error'));
                                                }
 +                                              enableActions();
                                        });
                        });
  
Simple merge