Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbfd939d

Browse files
author
minjk-bl
committed
Reverted version for changed FileNavigation extensions (need other way)
1 parent3d6b0e2 commitbfd939d

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

‎js/board/BoardFrame.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ define([
492492
// open file navigation
493493
letfileNavi=newFileNavigation({
494494
type:'open',
495-
extensions:['VP Note(*.vp)'],
495+
extensions:['vp'],
496496
finish:function(filesPath,status,error){
497497
// clear board before open note
498498
that.clearBoard();
@@ -554,7 +554,7 @@ define([
554554
letfileNavi=newFileNavigation({
555555
type:'save',
556556
fileName:this.tmpState.boardTitle,
557-
extensions:['VP Note(*.vp)'],
557+
extensions:['vp'],
558558
finish:function(filesPath,status,error){
559559
letboardTitle=filesPath[0].file;
560560
letboardPath=filesPath[0].path;
@@ -661,7 +661,7 @@ define([
661661
letfileNavi=newFileNavigation({
662662
type:'save',
663663
fileName:this.tmpState.boardTitle,
664-
extensions:['Python(*.py)'],
664+
extensions:['py'],
665665
finish:function(filesPath,status,error){
666666
letfileName=filesPath[0].file;
667667
letfilePath=filesPath[0].path;

‎js/m_apps/Chart.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ define([
122122
$(this.wrapSelector('#vp_openFileNavigationBtn')).click(function(){
123123
letfileNavi=newFileNavigation({
124124
type:'save',
125-
extensions:['PNG(*.png)'],
125+
extensions:['png'],
126126
finish:function(filesPath,status,error){
127127
if(filesPath.length>0){
128128
let{ file, path}=filesPath[0];

‎js/m_apps/PDF.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ nltk.download('punkt')`;
7373
$(this.wrapSelector('#vp_openFileNavigationBtn')).on('click',function(){
7474
letfileNavi=newFileNavigation({
7575
type:'open',
76-
extensions:['PDF(*.pdf)'],
76+
extensions:['pdf'],
7777
finish:function(filesPath,status,error){
7878
letpathList=filesPath.map(obj=>obj.path);
7979
letpathStr="'"+pathList.join("', '")+"'";

‎js/m_apps/Profiling.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ define([
113113
caseLIST_MENU_ITEM.SAVE:
114114
letfileNavi=newFileNavigation({
115115
type:'save',
116-
extensions:['HTML(*.html)'],
116+
extensions:['html'],
117117
fileName:'report',
118118
finish:function(filesPath,status,error){
119119
filesPath.forEach(fileObj=>{

‎js/m_apps/Snippets.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ define([
118118
if(menu=='import'){
119119
letfileNavi=newFileNavigation({
120120
type:'open',
121-
extensions:['Snippet(*.sn)'],
121+
extensions:['sn'],
122122
finish:function(filesPath,status,error){
123123
// import sn file
124124
filesPath.forEach(fileObj=>{
@@ -282,7 +282,7 @@ define([
282282

283283
letfileNavi=newFileNavigation({
284284
type:'save',
285-
extensions:['Snippet(*.sn)'],
285+
extensions:['sn'],
286286
finish:function(filesPath,status,error){
287287
letfileObj=filesPath[0];
288288
varfileName=fileObj.file;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp