(nid, id, value, reload)
| 2642 | }; |
| 2643 | |
| 2644 | var modifyNativeScriptOption = function(nid, id, value, reload) { |
| 2645 | if (V) console.log("run modifyNativeScriptOption"); |
| 2646 | if (reload === undefined) reload = true; |
| 2647 | try { |
| 2648 | var s = { method: "modifyNativeScript", nid: nid, actionid: id, value: value, reload: reload }; |
| 2649 | |
| 2650 | if (V) console.log("modifyNativeScriptOption sendReq"); |
| 2651 | chrome.extension.sendMessage(s, |
| 2652 | function(response) { |
| 2653 | if (response.items) { |
| 2654 | scheduleReCreate(response.items, name && true); |
| 2655 | } |
| 2656 | }); |
| 2657 | Please.wait(I18N.getMessage("Please_wait___")); |
| 2658 | } catch (e) { |
| 2659 | console.log("mSo: " + e.message); |
| 2660 | } |
| 2661 | }; |
| 2662 | |
| 2663 | var runScriptUpdates = function(id, cb) { |
| 2664 | try { |
no test coverage detected
searching dependent graphs…