Skip to content

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

Show EULA pro

kristiyanddb54952467a87
diff --git a/data/index.html b/data/index.html
index 79553ffd9..813f4de99 100644
--- a/data/index.html
+++ b/data/index.html
@@ -374,6 +374,7 @@
<iframe id="aboutIframe" sandbox="allow-same-origin allow-scripts" nwdisable style="width: 100%; height: 100%; min-height: 350px; border: 0;" src="LICENSE.txt"></iframe>
</div>
<div class="modal-footer">
+ <button class="btn pull-left" id="eulaDialogBack" title="Go Back"><i class="fa fa-arrow-left fa-lg"></i></button>
<button class="btn btn-primary" data-dismiss="modal" aria-hidden="true"><i class="fa fa-check fa-lg"></i>
</button>
</div>
diff --git a/data/js/core.ui.js b/data/js/core.ui.js
index a0fe83c34..e31f5f29a 100644
--- a/data/js/core.ui.js
+++ b/data/js/core.ui.js
@@ -776,6 +776,14 @@ define(function(require, exports, module) {
});
}
+ $('#eulaDialogBack').click(function() {
+ if (TSCORE.PRO) {
+ $('#aboutIframe').attr('src', 'pro/EULA.txt');
+ } else {
+ $('#aboutIframe').attr('src', 'LICENSE.txt');
+ }
+ });
+
function showLicenseDialog() {
$('#aboutLicenseModal').modal({
backdrop: 'static',