NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

[Web] Minor fix to api.js

ca7ad294
AndrĂ© <[email protected]> 8 years ago
data/web/js/api.js | 1 +
 1 file changed, 1 insertion(+)

Diff

diff --git a/data/web/js/api.js b/data/web/js/api.js
index c4d0a37d..54941949 100644
--- a/data/web/js/api.js
+++ b/data/web/js/api.js
@@ -120,6 +120,7 @@ $(document).ready(function() {
       if (typeof multi_data[id] == "undefined") {
         multi_data[id] = [];
       }
+      multi_data[id].splice($.inArray($(this).data('item'), multi_data[id]), 1);
       multi_data[id].push($(this).data('item'));
     }
     if (typeof multi_data[id] == "undefined") return;