make google drive "Get Code" button launch setup tutorial if minimum not set
parent
ea9e97e437
commit
cbe0af5273
|
@ -334,7 +334,7 @@ module.exports = (s,config,lang,app,io) => {
|
|||
{
|
||||
"hidden": true,
|
||||
"fieldType": "btn",
|
||||
"attribute": `style="margin-bottom:1em" href="javascript:$.get(getApiPrefix() + '/googleDriveOAuthRequest/' + $user.ke,function(data){if(data.ok)window.open(data.authUrl, 'Google Drive Authentication', 'width=800,height=400');})"`,
|
||||
"attribute": `style="margin-bottom:1em" href="javascript:$.get(getApiPrefix() + '/googleDriveOAuthRequest/' + $user.ke,function(data){window.open(data.ok ? data.authUrl : 'https://hub.shinobi.video/articles/view/oEIDEGXLlzmSsCk', 'Google Drive', 'width=800,height=400');})"`,
|
||||
"class": `btn-success`,
|
||||
"form-group-class": "autosave_googd_input autosave_googd_1",
|
||||
"btnContent": `<i class="fa fa-plus"></i> ${lang['Get Code']}`,
|
||||
|
|
Loading…
Reference in New Issue