Skip to content

Commit def8c98

Browse files
committed
fix ui
1 parent 4fc52e2 commit def8c98

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ source_dir=$(build_dir)/source
77
sign_dir=$(build_dir)/sign
88
package_name=$(app_name)
99
cert_dir=$(CURDIR)/../../key
10-
version+=0.0.31
10+
version+=0.0.32
1111

1212
all: build-front appstore
1313

@@ -39,6 +39,9 @@ appstore: clean
3939
--exclude=/Makefile \
4040
--exclude=/node_modules \
4141
--exclude=/src \
42+
--exclude=/package-lock.json \
43+
--exclude=/package.json \
44+
--exclude=/vite.config.ts \
4245
$(project_dir)/ $(sign_dir)/$(app_name)
4346

4447
@if [[ -f $(cert_dir)/$(app_name).key && -f $(cert_dir)/$(app_name).crt ]]; then \

appinfo/info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<name>Mind Map</name>
66
<summary>A Mind map editor</summary>
77
<description><![CDATA[This application enables Nextcloud users to open, save and edit mind map files in the web browser. If enabled, an entry in the New button at the top of the web browser the Mindmap file entry appears. When clicked, a new mindmap file opens in the browser and the file can be saved into the current Nextcloud directory.]]></description>
8-
<version>0.0.31</version>
8+
<version>0.0.32</version>
99
<licence>agpl</licence>
1010
<author mail="[email protected]" homepage="https://actom.me">Jingtao Yan</author>
1111
<namespace>Files_MindMap</namespace>

src/viewer.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@ redirectIfNotDisplayedInFrame();
8484
$('#save-button').click(function() {
8585
self.save();
8686
});
87-
$('#close-button').click(function() {
88-
self.close();
89-
return false;
90-
});
9187
},
9288
close: function() {
9389
var self = this;

templates/viewer.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
}
5656
#autosave-div {
5757
position: absolute;
58-
right: 240px;
58+
right: 260px;
5959
z-index: 10000;
6060
width: 100px;
6161
}
@@ -64,9 +64,9 @@
6464
}
6565
#save-div {
6666
position: absolute;
67-
right: 140px;
67+
right: 105px;
6868
z-index: 10000;
69-
width: 60px;
69+
width: 160px;
7070
}
7171

7272
#export-button {
@@ -99,19 +99,19 @@ class="btn btn-default export-caption dropdown-toggle"
9999
</button>
100100
<ul class="dropdown-menu" role="menu">
101101
<li>
102-
<a id="export-png" href"><?php p($l->t('Export to PNG')); ?></a>
102+
<a id="export-png" href="javascript:void(0)" target="_self"><?php p($l->t('Export to PNG')); ?></a>
103103
</li>
104104
<li>
105-
<a id="export-svg" href"><?php p($l->t('Export to SVG')); ?></a>
105+
<a id="export-svg" href="javascript:void(0)" target="_self"><?php p($l->t('Export to SVG')); ?></a>
106106
</li>
107107
<li>
108-
<a id="export-pdf" href"><?php p($l->t('Export to PDF')); ?></a>
108+
<a id="export-pdf" href="javascript:void(0)" target="_self"><?php p($l->t('Export to PDF')); ?></a>
109109
</li>
110110
<li>
111-
<a id="export-markdown" href"><?php p($l->t('Export to Markdown')); ?></a>
111+
<a id="export-markdown" href="javascript:void(0)" target="_self"><?php p($l->t('Export to Markdown')); ?></a>
112112
</li>
113113
<li>
114-
<a id="export-text" href"><?php p($l->t('Export to Text')); ?></a>
114+
<a id="export-text" href="javascript:void(0)" target="_self"><?php p($l->t('Export to Text')); ?></a>
115115
</li>
116116
</ul>
117117
</div>

0 commit comments

Comments
 (0)