Merge pull request #241 from zero01101/issue232
shoddily fixes issue 232
This commit is contained in:
commit
b369d3cfcf
3 changed files with 12 additions and 9 deletions
|
@ -7,7 +7,7 @@
|
|||
<link href="css/colors.css?v=f732f19" rel="stylesheet" />
|
||||
<link href="css/icons.css?v=e6f94af" rel="stylesheet" />
|
||||
|
||||
<link href="css/index.css?v=aaad3e5" rel="stylesheet" />
|
||||
<link href="css/index.css?v=fad20a2" rel="stylesheet" />
|
||||
<link href="css/layers.css?v=92c0352" rel="stylesheet" />
|
||||
|
||||
<link href="css/ui/generic.css?v=30837f8" rel="stylesheet" />
|
||||
|
@ -485,7 +485,7 @@
|
|||
<!-- Basics -->
|
||||
<script src="js/global.js?v=ac30d16" type="text/javascript"></script>
|
||||
<script src="js/defaults.js?v=5b06818" type="text/javascript"></script>
|
||||
<script src="js/extensions.js?v=fec7579" type="text/javascript"></script>
|
||||
<script src="js/extensions.js?v=abb882a" type="text/javascript"></script>
|
||||
|
||||
<!-- Base Libs -->
|
||||
<script src="js/lib/util.js?v=379aef7" type="text/javascript"></script>
|
||||
|
@ -525,7 +525,7 @@
|
|||
src="js/ui/tool/generic.js?v=3e678e0"
|
||||
type="text/javascript"></script>
|
||||
|
||||
<script src="js/ui/tool/dream.js?v=45b8acd" type="text/javascript"></script>
|
||||
<script src="js/ui/tool/dream.js?v=b55e592" type="text/javascript"></script>
|
||||
<script
|
||||
src="js/ui/tool/maskbrush.js?v=e9bd0eb"
|
||||
type="text/javascript"></script>
|
||||
|
@ -542,7 +542,7 @@
|
|||
|
||||
<!-- Initialize -->
|
||||
<script
|
||||
src="js/initalize/workspace.populate.js?v=2aea61f"
|
||||
src="js/initalize/workspace.populate.js?v=925431d"
|
||||
type="text/javascript"></script>
|
||||
<script
|
||||
src="js/initalize/shortcuts.populate.js?v=e68546f"
|
||||
|
|
|
@ -97,10 +97,13 @@
|
|||
workspaces.get(id).onsuccess = (e) => {
|
||||
const ws = e.target.result;
|
||||
if (ws) {
|
||||
workspaces.put({id, workspace}).onsuccess = () => {
|
||||
notifications.notify(`Workspace saved as '${ws.value.name}'`, {
|
||||
type: "success",
|
||||
});
|
||||
var name = ws.name;
|
||||
workspaces.delete(id).onsuccess = () => {
|
||||
workspaces.add({id, name, workspace}).onsuccess = () => {
|
||||
notifications.notify(`Workspace saved as '${name}'`, {
|
||||
type: "success",
|
||||
});
|
||||
}; //workspaces.put is failing, delete and re-add?
|
||||
listWorkspaces();
|
||||
};
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<link href="../css/colors.css?v=f732f19" rel="stylesheet" />
|
||||
<link href="../css/icons.css?v=e6f94af" rel="stylesheet" />
|
||||
|
||||
<link href="../css/index.css?v=aaad3e5" rel="stylesheet" />
|
||||
<link href="../css/index.css?v=fad20a2" rel="stylesheet" />
|
||||
<link href="../css/layers.css?v=92c0352" rel="stylesheet" />
|
||||
|
||||
<link href="../css/ui/generic.css?v=30837f8" rel="stylesheet" />
|
||||
|
|
Loading…
Reference in a new issue