Changeset View
Changeset View
Standalone View
Standalone View
extension/extension.js
Show First 20 Lines • Show All 175 Lines • ▼ Show 20 Line(s) | 174 | addRuntimeCallback("settings", "changed", function () { | |||
---|---|---|---|---|---|
176 | // but this also causes the settings dialog to quit | 176 | // but this also causes the settings dialog to quit | ||
177 | //chrome.runtime.reload(); | 177 | //chrome.runtime.reload(); | ||
178 | sendSettings(); | 178 | sendSettings(); | ||
179 | }); | 179 | }); | ||
180 | 180 | | |||
181 | addRuntimeCallback("settings", "openKRunnerSettings", function () { | 181 | addRuntimeCallback("settings", "openKRunnerSettings", function () { | ||
182 | sendPortMessage("settings", "openKRunnerSettings"); | 182 | sendPortMessage("settings", "openKRunnerSettings"); | ||
183 | }); | 183 | }); | ||
184 | | ||||
185 | addRuntimeCallback("settings", "getSubsystemStatus", (message, sender, action) => { | ||||
186 | return sendPortMessageWithReply("settings", "getSubsystemStatus"); | ||||
187 | }); |