removed bookmarks share button on iitcm
* call share interface from copy option * a copy button and a share button are redundant since you can copy2clipboard from share interface too * this way we stay consistent with the new draw tools options
This commit is contained in:
parent
f87e1621fd
commit
bb5c6ea6f6
@ -535,7 +535,7 @@
|
||||
|
||||
window.plugin.bookmarks.optCopy = function() {
|
||||
if(typeof android !== 'undefined' && android && android.intentPosLink) {
|
||||
return androidCopy(localStorage[window.plugin.bookmarks.KEY_STORAGE]);
|
||||
return android.shareString(localStorage[window.plugin.bookmarks.KEY_STORAGE]);
|
||||
} else {
|
||||
dialog({
|
||||
html: '<p><a onclick="$(\'.ui-dialog-bkmrksSet-copy textarea\').select();">Select all</a> and press CTRL+C to copy it.</p><textarea readonly>'+localStorage[window.plugin.bookmarks.KEY_STORAGE]+'</textarea>',
|
||||
@ -569,14 +569,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
window.plugin.bookmarks.optShare = function() {
|
||||
if(window.plugin.bookmarks.isAndroid() && android.shareString) {
|
||||
android.shareString(localStorage[window.plugin.bookmarks.KEY_STORAGE]);
|
||||
} else {
|
||||
window.plugin.bookmarks.optAlert('Only IITC mobile. ');
|
||||
}
|
||||
}
|
||||
|
||||
window.plugin.bookmarks.optBox = function(command) {
|
||||
if(!window.plugin.bookmarks.isAndroid()) {
|
||||
switch(command) {
|
||||
@ -922,7 +914,6 @@
|
||||
+'<a onclick="window.plugin.bookmarks.optCopy();">Copy/Export Bookmarks</a>'
|
||||
+'<a onclick="window.plugin.bookmarks.optPaste();return false;">Paste/Import Bookmarks</a>'
|
||||
+'<a onclick="window.plugin.bookmarks.optReset();return false;">Reset Bookmarks</a>'
|
||||
+'<a onclick="window.plugin.bookmarks.optShare();">Share all Bookmarks (IITCm)</a>'
|
||||
+'<a onclick="window.plugin.bookmarks.optBox(\'save\');">Save box position (No IITCm)</a>'
|
||||
+'<a onclick="window.plugin.bookmarks.optBox(\'reset\');">Reset box position (No IITCm)</a>'
|
||||
+'</div>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user