Closed GoogleCodeExporter closed 8 years ago
I have this bit of code added for the settings.field_type = "text":
if( settings.hot_keys )
{
use_field_type += "<br><table><tr><td>Speed Keys</td><td>";
var hotkeysArray = settings.hot_keys.split(',');
for( var i=0; i<hotkeysArray.length; i++ )
{
var hotkeysValuesArray = hotkeysArray[i].split(':');
var use_value = hotkeysValuesArray[1] || hotkeysValuesArray[0];
var thisChar = String.fromCharCode( use_value );
use_field_type += '<b OnClick="">[' + thisChar + '] ';
}
use_field_type += "</td></tr></table>";
}
The only piece I'm missing now is the OnClick part.
Any further help on this would be greatly appreciated. :)
Original comment by warp...@gmail.com
on 12 Oct 2009 at 9:59
Disregard - I think I got this working - a bit more testing and I'll supply the
patch
along with the other one for the array selections.
Original comment by warp...@gmail.com
on 13 Oct 2009 at 5:49
I'll look at the patch in the other report, until then, closing this issue.
Original comment by mhaec...@gmail.com
on 23 Mar 2010 at 10:15
Original issue reported on code.google.com by
warp...@gmail.com
on 12 Oct 2009 at 8:47