]> arthur.barton.de Git - netdata.git/commitdiff
registry modals should prevent scrolling the screen
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sat, 14 May 2016 02:19:31 +0000 (05:19 +0300)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Sat, 14 May 2016 02:19:31 +0000 (05:19 +0300)
web/index.html

index 67ac861f5019271060963f9e121d196a1d19c015..32fe5a52826e5e1fa32e17413d4d0084ee12bfb8 100644 (file)
                                </div>
                                <div class="modal-footer">
                                        <button type="button" class="btn btn-success" data-dismiss="modal">keep it</button>
-                                       <a href="#" onclick="notifyForDeleteRegistry(true);" type="button" class="btn btn-danger">delete it</a>
+                                       <a href="#" onclick="notifyForDeleteRegistry(true); return false;" type="button" class="btn btn-danger">delete it</a>
                                </div>
                        </div>
                </div>
                                </div>
                                <div class="modal-footer">
                                        <button type="button" class="btn btn-success" data-dismiss="modal">cancel</button>
-                                       <a href="#" onclick="notifyForSwitchRegistry(true);" type="button" class="btn btn-danger">impersonate</a>
+                                       <a href="#" onclick="notifyForSwitchRegistry(true); return false;" type="button" class="btn btn-danger">impersonate</a>
                                </div>
                        </div>
                </div>