go to style manager after installing style
This commit is contained in:
parent
2eeab2c1be
commit
0a934b0657
|
@ -1,6 +1,6 @@
|
||||||
/* global $ $create $createLink $$remove showSpinner */// dom.js
|
/* global $ $create $createLink $$remove showSpinner */// dom.js
|
||||||
/* global API */// msg.js
|
/* global API */// msg.js
|
||||||
/* global closeCurrentTab deepEqual */// toolbox.js
|
/* global deepEqual */// toolbox.js
|
||||||
/* global messageBox */
|
/* global messageBox */
|
||||||
/* global prefs */
|
/* global prefs */
|
||||||
/* global preinit */
|
/* global preinit */
|
||||||
|
@ -301,17 +301,9 @@ function install(style) {
|
||||||
|
|
||||||
updateMeta(style);
|
updateMeta(style);
|
||||||
|
|
||||||
if (!liveReload.enabled && !prefs.get('openEditInWindow')) {
|
if (!liveReload.enabled) {
|
||||||
location.href = '/edit.html?id=' + style.id;
|
sessionStorage.justEditedStyleId = style.id;
|
||||||
} else {
|
location.href = '/manage.html';
|
||||||
API.openEditor({id: style.id});
|
|
||||||
if (!liveReload.enabled) {
|
|
||||||
if (tabId < 0 && history.length > 1) {
|
|
||||||
history.back();
|
|
||||||
} else {
|
|
||||||
closeCurrentTab();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user