Fix multiple favourites
This commit is contained in:
parent
41f07acc10
commit
cf8f4a6680
3 changed files with 5 additions and 3 deletions
|
@ -23,8 +23,10 @@ ApplicationWindow
|
|||
}
|
||||
|
||||
function addFavourite(ssid, url) {
|
||||
if(isFavourite(ssid, url))
|
||||
return;
|
||||
db_conn.transaction(function (tx) {
|
||||
tx.executeSql('REPLACE INTO Favourites VALUES(?, ?)', [ssid, url] );
|
||||
tx.executeSql('INSERT INTO Favourites VALUES(?, ?)', [ssid, url] );
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
<context>
|
||||
<name>CoverPage</name>
|
||||
<message>
|
||||
<source>Seaprint</source>
|
||||
<source>SeaPrint</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
<context>
|
||||
<name>CoverPage</name>
|
||||
<message>
|
||||
<source>Seaprint</source>
|
||||
<source>SeaPrint</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
</context>
|
||||
|
|
Loading…
Reference in a new issue