Changeset 1718
- Timestamp:
- 05/21/07 12:55:15 (3 years ago)
- Location:
- trunk/gregarius
- Files:
-
- 2 modified
-
ajax.php (modified) (1 diff)
-
plugins/keyboardnavigation.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/ajax.php
r1717 r1718 262 262 if (!e) { e = event; e.which = e.keyCode; } 263 263 switch (e.which) { 264 case 10: // return 265 case 13: // enter 266 setTags(id,control.value); 267 return false; 268 break; 269 default: return true; 264 case 10: case 13: _et(id); return false; break; 265 default: return true; break; 270 266 } 271 267 }; -
trunk/gregarius/plugins/keyboardnavigation.php
r1716 r1718 61 61 '__kbnav_OpenUrl' => 'Navigate to the URL of the current item', 62 62 '__kbnav_OpenUrlNW' => 'Navigate to the URL of the current item in a new window', 63 '__kbnav_EditTags' => 'Edit tags of the current item', 63 64 ); 64 65 } … … 84 85 $kmap['__kbnav_OpenUrlNW']['modifier'] = 'shift'; 85 86 } 87 if (!isset($kmap['__kbnav_EditTags']['key'])) {$kmap['__kbnav_EditTags']['key'] = 't';} 86 88 return $kmap; 87 89 } … … 354 356 return false; 355 357 } 356 358 function __kbnav_EditTags() { 359 var r = __kbnav_CurrentItemData(); 360 if (null != r && r.id && 'function' == typeof(_et)) { 361 _et(r.id); 362 } 363 } 357 364 <?php 358 365 flush();
