Skip to content

TagSpaces is an offline, open source, document manager with tagging support

showing welcome dialog if no location created

Ilian33532bc6e18b
diff --git a/data/js/core.api.js b/data/js/core.api.js
index 9553fd3e0..b56a62d74 100644
--- a/data/js/core.api.js
+++ b/data/js/core.api.js
@@ -85,7 +85,8 @@ define(function(require, exports, module) {
if(tsSettings.Settings.tagspacesList.length < 1 ) {
$( "#createNewLocation" ).tooltip( "show" );
$( "#locationName" ).prop('disabled', true);
- $( "#selectLocation" ).prop('disabled', true);
+ $( "#selectLocation" ).prop('disabled', true);
+ tsCoreUI.showWelcomeDialog();
}
console.log("Layout initialized");