send message to frameEditor (for plugins only)

This commit is contained in:
Oleg Korshul 2017-03-02 18:49:46 +03:00
parent 7a52154c64
commit ed73200c1a

View file

@ -268,7 +268,12 @@
} else } else
if (msg.event === 'onInternalMessage' && msg.data && msg.data.type == 'localstorage') { if (msg.event === 'onInternalMessage' && msg.data && msg.data.type == 'localstorage') {
_callLocalStorage(msg.data.data); _callLocalStorage(msg.data.data);
} else { } else {
if (msg.type === "onExternalPluginMessage") {
_sendCommand(msg);
return;
}
if (msg.event === 'onReady') { if (msg.event === 'onReady') {
_onReady(); _onReady();
} }