'command',
function(ev) {
//obj.show_my_libs(ev.target.value);
+ //alert('lib picker, command caught - ml = ' + ml + '\nml.value = ' + ml.value + '\n');
+ if (document.getElementById('refresh_button')) document.getElementById('refresh_button').focus();
JSAN.use('util.file'); var file = new util.file('copy_browser_prefs.'+obj.data.server_unadorned);
util.widgets.save_attributes(file, { 'lib_menu' : [ 'value' ], 'show_acns' : [ 'checked' ], 'show_acps' : [ 'checked' ] });
obj.refresh_list();
<hbox>
<checkbox id="show_acns" label="Show Volumes" />
<checkbox id="show_acps" label="Show Items" />
- <button label="Refresh" command="cmd_refresh_list" />
+ <button id="refresh_button" label="Refresh" command="cmd_refresh_list" />
<button label="Show Libs With Items" command="cmd_show_libs_with_copies" accesskey="L"/>
<!-- <button label="Show My Libs" command="cmd_show_my_libs" accesskey="M"/>-->
<!--