src/glkote/dialog.js
/* Event handler: The user has changed which entry in the selection box is
   highlighted. 

   This is used only in save dialogs; the highlighted filename is copied to the
   input field.
*/
Event handler: The user has changed which entry in the selection box is
highlighted.

This is used only in save dialogs; the highlighted filename is copied to the
input field.
Event handler : The user has changed which entry in the selection box is highlighted . This is used only in save dialogs ; the highlighted filename is copied to the input field .
function evhan_select_change() {
    if (!is_open)
        return false;
    if (confirming)
        return false;
    var selel = $('#'+dialog_el_id+'_select');
    if (!selel.length)
        return false;
    var pos = selel.prop('selectedIndex');
    if (!cur_filelist || pos < 0 || pos >= cur_filelist.length)
        return false;
    var file = cur_filelist[pos];
    var fel = $('#'+dialog_el_id+'_infield');
    if (!fel.length)
        return false;
    fel.val(file.dirent.filename);
    return false;
}
function evhan_select_change ( ) { if ( ! is_open ) return false ; if ( confirming ) return false ; var selel = $ ( '#' + dialog_el_id + '_select' ) ; if ( ! selel . length ) return false ; var pos = selel . prop ( 'selectedIndex' ) ; if ( ! cur_filelist || pos < 0 || pos >= cur_filelist . length ) return false ; var file = cur_filelist [ pos ] ; var fel = $ ( '#' + dialog_el_id + '_infield' ) ; if ( ! fel . length ) return false ; fel . val ( file . dirent . filename ) ; return false ; }
Event handler: The user has changed which entry in the selection box is
highlighted.
Event handler : The user has changed which entry in the selection box is highlighted .
//GlkOte.log('### select changed');