Obliczenia brydżowe (HTML)
Jacek Kowalski
2015-09-29 7dab55a84e613b8a0d78cbfa50866861cfc69f23
Fix editing player names (data was not persisted)
1 files modified
4 ■■■■ changed files
bridge_results_table.js 4 ●●●● patch | view | raw | blame | history
bridge_results_table.js
@@ -77,15 +77,15 @@
                
                if(result) {
                    self.players[self.players.indexOf(originalName)] = result;
                    th.innerText = result;
                }
                else
                {
                    var index = self.players.indexOf(originalName);
                    self.players.splice(index, 1);
                    self.results.splice(index, 1);
                    self.refresh();
                }
                self.refresh();
            }
        );
    } }(this);