diff --git a/ui (gen4)/features/ui-status.js b/ui (gen4)/features/ui-status.js index 0655a642..4edeebe1 100755 --- a/ui (gen4)/features/ui-status.js +++ b/ui (gen4)/features/ui-status.js @@ -210,7 +210,11 @@ var StatusBarActions = actions.Actions({ reset_on_done: false, }) .on('edit-commit', function(_, text){ - that.focusRibbon(text == '*' ? that.base : parseInt(text)-1) + var i = parseInt(text) + i = i >= 1 ? i-1 + : i == null ? 'current' + : i + that.focusRibbon(text == '*' ? that.base : i) }) .focus(function(){ $(this).selectText() diff --git a/ui (gen4)/features/ui-widgets.js b/ui (gen4)/features/ui-widgets.js index be1c895a..3f72fda0 100755 --- a/ui (gen4)/features/ui-widgets.js +++ b/ui (gen4)/features/ui-widgets.js @@ -591,6 +591,7 @@ var DialogsActions = actions.Actions({ return res })], + listDialogs: ['Interface/Dialog/Dialog list...', makeUIDialog(function(){ var actions = this