We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d6b0e2 commit bfd939dCopy full SHA for bfd939d
5 files changed
js/board/BoardFrame.js
@@ -492,7 +492,7 @@ define([
492
// open file navigation
493
let fileNavi = new FileNavigation({
494
type: 'open',
495
- extensions: ['VP Note(*.vp)'],
+ extensions: ['vp'],
496
finish: function(filesPath, status, error) {
497
// clear board before open note
498
that.clearBoard();
@@ -554,7 +554,7 @@ define([
554
555
type: 'save',
556
fileName: this.tmpState.boardTitle,
557
558
559
let boardTitle = filesPath[0].file;
560
let boardPath = filesPath[0].path;
@@ -661,7 +661,7 @@ define([
661
662
663
664
- extensions: ['Python(*.py)'],
+ extensions: ['py'],
665
666
let fileName = filesPath[0].file;
667
let filePath = filesPath[0].path;
js/m_apps/Chart.js
@@ -122,7 +122,7 @@ define([
122
$(this.wrapSelector('#vp_openFileNavigationBtn')).click(function() {
123
124
125
- extensions: ['PNG(*.png)'],
+ extensions: ['png'],
126
127
if (filesPath.length > 0) {
128
let { file, path } = filesPath[0];
js/m_apps/PDF.js
@@ -73,7 +73,7 @@ nltk.download('punkt')`;
73
$(this.wrapSelector('#vp_openFileNavigationBtn')).on('click', function() {
74
75
76
- extensions: ['PDF(*.pdf)'],
+ extensions: ['pdf'],
77
78
let pathList = filesPath.map(obj => obj.path);
79
let pathStr = "'" + pathList.join("', '") + "'";
js/m_apps/Profiling.js
@@ -113,7 +113,7 @@ define([
113
case LIST_MENU_ITEM.SAVE:
114
115
116
- extensions: ['HTML(*.html)'],
+ extensions: ['html'],
117
fileName: 'report',
118
119
filesPath.forEach( fileObj => {
js/m_apps/Snippets.js
@@ -118,7 +118,7 @@ define([
if (menu == 'import') {
120
121
- extensions: ['Snippet(*.sn)'],
+ extensions: ['sn'],
// import sn file
filesPath.forEach(fileObj => {
@@ -282,7 +282,7 @@ define([
282
283
284
285
286
287
let fileObj = filesPath[0];
288
var fileName = fileObj.file;
0 commit comments