add the ability to exec hooks while entering in softkey...
...s menus
... | ... |
@@ -42,6 +42,8 @@ var softkeysClass = { |
42 | 42 |
|
43 | 43 |
if (contains(path, key)) { |
44 | 44 |
append(me.path, key); |
45 |
+ if (contains(bindings[key], 'hook')) |
|
46 |
+ call(bindings[key].hook, [], me); |
|
45 | 47 |
me.device.display.updateSoftKeys(); |
46 | 48 |
} |
47 | 49 |
elsif (contains(bindings, key)) { |