[OPEN-ILS-DEV] ctrl+i for Mac Staff Client

Grant Johnson fgjohnson at upei.ca
Mon May 25 11:01:57 EDT 2009


That is good news.
Thanks for the pointer.


>>> On Mon, May 25, 2009 at 11:31 AM, in message
<fbb0d11d0905250731r25db7100m2a9cc12bb934d5e2 at mail.gmail.com>, Dan Scott
<denials at gmail.com> wrote:
> Hey Grant:
> 
> 2009/5/25 Grant Johnson <fgjohnson at upei.ca>:
>> Since I had a couple of requests for this here it is.
>>
>> To use ctrl+i for Mac Staff clients, AO added the following to marcedit.js 
> on the server.
>> This is NOT a patch - just a code snippit for context.
>>
>> It enables ctrl+i for ALL OS's cause italics doesn't matter in the EG staff 
> client. :-)
>>
>>
>>                if (element.nodeKind() == 'attribute') element[0]=box.value;
>>                else element.setChildren( box.value );
>>
>> ++              //Use Ctrl+i for Mac since Ctrl+d conflicts (UPEI)
>>                if (element.localName() != 'controlfield') {
>> --                      if (event.charCode == 100 && event.ctrlKey) { // 
> ctrl+d
>> ++                      if ((event.charCode == 100 || event.charCode == 105) 
> && event.ctrlKey) { // ctrl+d
>>
>>
>> --
>>
> 
> Good news, I merged this to Evergreen trunk about a month ago as
> http://svn.open-ils.org/trac/ILS/changeset/12862/trunk/Open-ILS/xul/staff_cl 
> ient/server/cat/marcedit.js
> (and credited Alexander O'Neill accordingly).
> 
> -- 
> Dan Scott
> Laurentian University



More information about the Open-ils-dev mailing list