]> granicus.if.org Git - transmission/commit
Use id when handling hotkeys for specific dialogs
authorSven Depondt <sven@b-bright.be>
Fri, 28 Jul 2017 20:32:18 +0000 (22:32 +0200)
committerSven Depondt <sven@b-bright.be>
Fri, 28 Jul 2017 20:32:18 +0000 (22:32 +0200)
commit0978dbf8905fd6bbeaa6259678a96884760b1963
treebcfb4bf64929153686848d77f007703f30f2d04a
parenta52ef891617e3fdbd0bf7e6719bbb0621d93e531
Use id when handling hotkeys for specific dialogs

Identifying a dialog by it's header title is kinda dirty and now we use
the dialogs id instead. We also check if the dialog is visible before executing
the hotkey action.
web/javascript/dialog.js
web/javascript/transmission.js