From 73e34009c81338227506d56da87e99577a2d6423 Mon Sep 17 00:00:00 2001
From: capoaira '
+ '"
- + ' '
+ ' ';
@@ -328,7 +328,7 @@ function s2cgGCMain() {
function buildButton(GCCode, anchor, height, imgClass='') {
// Add s2cg button.
var html = ''
- + ''
+ + ''
+ '';
$(anchor).append(html);
@@ -384,7 +384,7 @@ function s2cgGCMain() {
if (document.location.href.match(/\.com\/map/)) {
var template = $("#cacheDetailsTemplate").html();
var html = ''
- + ''
+ + ''
+ 'Send to c:geo';
var searchpos = template.indexOf('/images/icons/16/write_log.png');
@@ -481,8 +481,8 @@ function s2cgGCMain() {
if (document.location.href.match(/\.com\/(seek\/cache_details\.aspx|geocache\/)/)) {
var GCCode = $("#ctl00_ContentBody_CoordInfoLinkControl1_uxCoordInfoCode").html();
- var html2 = '');
+ $('.BorderTop th').first().after(' ');
$('.Data.BorderTop').each(
function() {
var text = $(this).find(".Merge").last().find("span.small").first().text().split("|");
var GCCode = text[text.length - 2].trim();
var html = ' '
- + ' '
+ + ' '
+ ' ';
$(this).find('td').first().after(html);
}
);
}
+ // Send to c:geo on new List / new BML
if (document.location.href.match(/\.com\/plan\/lists\/BM/)) {
// observer callback
let cb = function() {
@@ -528,7 +529,7 @@ function s2cgGCMain() {
if ($('.multi-select-action-bar')[0]) {
removeIfAlreadyExists('#s2cgeo-selected', $('#s2cgeo-selected'));
$('.multi-select-action-bar-count-section').after(''
- + ' '
+ + ' '
+ '');
$('#s2cgeo-selected').on('click', function() {
sendList('selected');
@@ -536,7 +537,7 @@ function s2cgGCMain() {
}
removeIfAlreadyExists('.header-s2cgeo', $('.header-s2cgeo'));
- $('.geocache-table thead th.header-geocache-name').before('');
+ $('.geocache-table thead th.header-geocache-name').before(' ');
$('.geocache-table tbody tr').each(
function() {
@@ -586,7 +587,7 @@ function s2cgGCMain() {
observer.disconnect();
removeIfAlreadyExists('.header-s2cgeo', $('.header-s2cgeo'));
- $('.geocache-table thead th.header-name').before(' ');
+ $('.geocache-table thead th.header-name').before(' ');
$('.geocache-table tbody tr').each(
function() {
@@ -613,8 +614,8 @@ function s2cgGCMain() {
var occode = document.title;
occode = occode.substring(0, occode.indexOf(" ", 0));
- var html = ''
- + ''
+ var html = ''
+ + ' '
+ ' '
+ '
' - + ' ' + + ' ' + ' Send to c:geo Settings' + '
' + '