|
|
#1 |
|
Connoisseur
![]() Posts: 64
Karma: 10
Join Date: Sep 2015
Location: Yerevan, Armenia
Device: none
|
Is it possible to show a warning before saving epub,
if code in js-file has changed the text in the xhtml-file? -------------------- I have a quiz after every chapter and it is not very usable to have an additional program for such testing. Sometimes I forget what I should not save file after calling this function in Sigil, so I have to check userAgent and use an additional program for tests. Code:
function z(a)
{
if (navigator.userAgent.search('sigil') > 0) {
// do nothing;
} else {
// do quiz, something like this
// document.getElementById("a").innerHTML = u[a][1];
}
};
|
|
|
|
|
|
#2 |
|
Connoisseur
![]() Posts: 64
Karma: 10
Join Date: Sep 2015
Location: Yerevan, Armenia
Device: none
|
Sorry, I just see what this was solved!
Just in some another way. Thanks. Last edited by brolny; 05-30-2018 at 07:49 AM. |
|
|
|
| Advert | |
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Save or Save a Copy? | EditorOne | Editor | 35 | 03-01-2015 08:12 AM |
| Save (and save as) name issue | sergo | Sigil | 5 | 03-17-2013 11:59 AM |
| Save File location and Save As question | DougFNJ | Calibre | 0 | 09-17-2009 05:56 PM |