mirror of
https://github.com/QIDITECH/QIDIStudio.git
synced 2026-02-02 09:58:41 +03:00
update resources
This commit is contained in:
@@ -431,18 +431,26 @@ function OnClickOpenProject()
|
||||
SendWXMessage( JSON.stringify(tSend) );
|
||||
}
|
||||
|
||||
let RecentClick=true;
|
||||
function OnOpenRecentFile( strPath )
|
||||
{
|
||||
if( RecentPage_Mode!=Recent_Normal )
|
||||
return;
|
||||
|
||||
var tSend={};
|
||||
tSend['sequence_id']=Math.round(new Date() / 1000);
|
||||
tSend['command']="homepage_open_recentfile";
|
||||
tSend['data']={};
|
||||
tSend['data']['path']=decodeURI(strPath);
|
||||
|
||||
SendWXMessage( JSON.stringify(tSend) );
|
||||
|
||||
if(RecentClick)
|
||||
{
|
||||
RecentClick = false;
|
||||
setTimeout(() => {
|
||||
RecentClick = true;
|
||||
}, 1000);
|
||||
|
||||
var tSend={};
|
||||
tSend['sequence_id']=Math.round(new Date() / 1000);
|
||||
tSend['command']="homepage_open_recentfile";
|
||||
tSend['data']={};
|
||||
tSend['data']['path']=decodeURI(strPath);
|
||||
SendWXMessage( JSON.stringify(tSend) );
|
||||
}
|
||||
}
|
||||
|
||||
function OnDeleteRecentFile( )
|
||||
|
||||
@@ -253,6 +253,7 @@ function ShowLeftMenuTip( bShow )
|
||||
$("div[menu='recent'] div.BtnIcon").prop('title',GetCurrentTextByKey('t35'));
|
||||
$("div[menu='online'] div.BtnIcon").prop('title',GetCurrentTextByKey('t107'));
|
||||
$("div[menu='makerlab'] div.BtnIcon").prop('title','MakerLab');
|
||||
$("div[menu='makersupply'] div.BtnIcon").prop('title',GetCurrentTextByKey('t125'));
|
||||
$("div[menu='printhistory'] div.BtnIcon").prop('title',GetCurrentTextByKey('t117'));
|
||||
$("div[menu='manual'] div.BtnIcon").prop('title',GetCurrentTextByKey('t87'));
|
||||
}
|
||||
@@ -262,8 +263,9 @@ function ShowLeftMenuTip( bShow )
|
||||
$("div[menu='recent'] div.BtnIcon").removeAttr('title');
|
||||
$("div[menu='online'] div.BtnIcon").removeAttr('title');
|
||||
$("div[menu='makerlab'] div.BtnIcon").removeAttr('title');
|
||||
$("div[menu='makersupply'] div.BtnIcon").removeAttr('title');
|
||||
$("div[menu='printhistory'] div.BtnIcon").removeAttr('title');
|
||||
$("div[menu='manual'] div.BtnIcon").removeAttr('title');
|
||||
$("div[menu='manual'] div.BtnIcon").removeAttr('title');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user