mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-01-09 15:38:30 +01:00
[bug] fix link and group edit and add state not resetting
This commit is contained in:
parent
41d183ba66
commit
6d984c04c1
@ -1489,6 +1489,7 @@ var link = (function() {
|
|||||||
var successAction = function() {
|
var successAction = function() {
|
||||||
var copyStagedLink = JSON.parse(JSON.stringify(stagedLink));
|
var copyStagedLink = JSON.parse(JSON.stringify(stagedLink));
|
||||||
bookmarks.mod.edit.link(copyStagedLink);
|
bookmarks.mod.edit.link(copyStagedLink);
|
||||||
|
edit.item.close();
|
||||||
data.save();
|
data.save();
|
||||||
groupAndItems();
|
groupAndItems();
|
||||||
render.focus.item.current.edit(copyStagedLink);
|
render.focus.item.current.edit(copyStagedLink);
|
||||||
@ -1533,6 +1534,7 @@ var link = (function() {
|
|||||||
var successAction = function() {
|
var successAction = function() {
|
||||||
var copyStagedGroup = JSON.parse(JSON.stringify(stagedGroup));
|
var copyStagedGroup = JSON.parse(JSON.stringify(stagedGroup));
|
||||||
bookmarks.mod.edit.group(copyStagedGroup);
|
bookmarks.mod.edit.group(copyStagedGroup);
|
||||||
|
edit.group.close();
|
||||||
data.save();
|
data.save();
|
||||||
groupAndItems();
|
groupAndItems();
|
||||||
render.focus.group.current.edit(copyStagedGroup);
|
render.focus.group.current.edit(copyStagedGroup);
|
||||||
|
@ -196,7 +196,7 @@ var state = (function() {
|
|||||||
border: 0,
|
border: 0,
|
||||||
order: "headerbody",
|
order: "headerbody",
|
||||||
add: false,
|
add: false,
|
||||||
edit: true
|
edit: false
|
||||||
},
|
},
|
||||||
layout: {
|
layout: {
|
||||||
alignment: "centercenter",
|
alignment: "centercenter",
|
||||||
|
Loading…
Reference in New Issue
Block a user