Skip to content

Commit

Permalink
release 1.9.17
Browse files Browse the repository at this point in the history
  • Loading branch information
uprun committed Mar 25, 2023
1 parent e4ea556 commit 6593d9c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Views/Home/ideas.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,9 @@
<div class="w3-col w3-container s12 m12 l12 webpad-color-coral" data-bind="if: $root.platform_is_cordova()">
For more information you can visit a website of the project <a href="https://webpad.com.ua">https://webpad.com.ua</a> <br/>
</div>
<div class="w3-col w3-container s12 m12 l12" style="margin-top: 0.5rem;" >
<span class="webpad-color-blue" style="font-size: 1.4rem;" >Version 1.9.* [2023-03-25]</span>
</div>


</div>
Expand Down
11 changes: 10 additions & 1 deletion wwwroot/bundle_ideas.html
Original file line number Diff line number Diff line change
Expand Up @@ -3003,6 +3003,7 @@
{
lookup.Android_write_file(fileEntry, content, contentType);


}, lookup.android_file_error_handler);
});
};
Expand All @@ -3014,6 +3015,11 @@
fileWriter.onwriteend = function() {
console.log("Successful file write...");
alert( "Your notes are exported to: " + fileEntry.nativeURL);
// new attempt 2023-03-25 00:55 CET
// var a = document.createElement("a");
// a.href = fileEntry.nativeURL;
// a.download = fileEntry.name;
// a.click();
};

fileWriter.onerror = function (e) {
Expand Down Expand Up @@ -3333,7 +3339,7 @@

lookup.check_platform = function()
{
if(typeof(window._cordovaNative) !== 'undefined')
if(typeof(window.cordova) !== 'undefined')
{
console.log("Cordova is here");
lookup.platform_is_cordova(true);
Expand Down Expand Up @@ -4085,6 +4091,9 @@ <h2>
<div class="w3-col w3-container s12 m12 l12 webpad-color-coral" data-bind="if: $root.platform_is_cordova()">
For more information you can visit a website of the project <a href="https://webpad.com.ua">https://webpad.com.ua</a> <br/>
</div>
<div class="w3-col w3-container s12 m12 l12" style="margin-top: 0.5rem;" >
<span class="webpad-color-blue" style="font-size: 1.4rem;" >Version 1.9.* [2023-03-25]</span>
</div>


</div>
Expand Down
6 changes: 6 additions & 0 deletions wwwroot/js/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ lookup.Android_file_download = function(content, fileName, contentType)
{
lookup.Android_write_file(fileEntry, content, contentType);


}, lookup.android_file_error_handler);
});
};
Expand All @@ -68,6 +69,11 @@ lookup.Android_write_file = function(fileEntry, content, contentType)
fileWriter.onwriteend = function() {
console.log("Successful file write...");
alert( "Your notes are exported to: " + fileEntry.nativeURL);
// new attempt 2023-03-25 00:55 CET
// var a = document.createElement("a");
// a.href = fileEntry.nativeURL;
// a.download = fileEntry.name;
// a.click();
};

fileWriter.onerror = function (e) {
Expand Down

0 comments on commit 6593d9c

Please sign in to comment.