×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Select location from list doesn't work

Select location from list doesn't work 11 years 9 months ago #19657

  • Ton Driessen
  • Ton Driessen's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 1
Hello,

I noticed that when i have that many
locations in my list that i have to scroll,
click any location gives no selection on my
map!

I tried it with 3 to 4 locations and
that will work!

It seems that the error lies in the listbox.

Regards Ton

Select location from list doesn't work 11 years 9 months ago #19659

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Well, if you can tell me what error messages (js errors) you see there - this would help.

Select location from list doesn't work 11 years 9 months ago #19660

  • Ton Driessen
  • Ton Driessen's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 1
Ok Daniel, i wil look first thing tomorrow!

Regards

Ton

Select location from list doesn't work 11 years 9 months ago #19661

  • Ton Driessen
  • Ton Driessen's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 1
Good morning Daniel,

I tried very hard to get any information that gives any
idea where, when and what might go wrong when
running hotspot on iPhone or iPad.
No result, meaning that i get no useful information
using Xcode and or Firebug!
These are the steps i made on iPhone/iPad:

1 First time started with total of 3 locations (Parkingplaces)
Result: I can make selection (have to click two times) and infobuble shows in the map
2 Selected different category (had to click two times to show it in tab) with a total of 10 locations (Toilets)
Result: i make a selection (sometimes the first time it shows the infobbuble in map)
Selecting another doesn't show (if there was any infobubble in the map it stays in the map)
When i make a selection sometimes the greyed selection jumps up and down to previous or
click selecting zoom jumps to next one.

3 Do a search (above map)
Result: When i don't have to scroll the listbox and select one info bubble shows on the map.

After adding more locations in the backend on the map appears underneath some markers a black dot (see image)

I hope that this can be repaired, it would be so useful when people like me
using a wheelchair finding locations fast and easy with compojoom hotspot.
I will help in anyway i can to solve it.

Regards Ton
Attachments:

Select location from list doesn't work 11 years 9 months ago #19663

  • Ton Driessen
  • Ton Driessen's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 1
Hi,

Could this cause any trouble in safari(mobile)?

Timestamp: 02/13/21 11:15:39
Warning: Use of getAttributeNode () is deprecated. Instead, use getAttribute ().
Bronbestand: whap2go.nl/media/system/js/mootools-core.js
Regel: 343

}var e=D.getAttributeNode("value");return(e&&e.specified)?D.value:D.get("text");}};}n=null;if(document.createElement("div").getAttributeNode("id")){Element.Properties.id={set:function(e){this.id=this.getAttributeNode("id").value=e;

The error is generated using error-console in FF (desktop). I can't find tool that shows these information for Safari.

Hope this wil do. The screenshots look good to me, but when i upload them they look very blurry?



Ton

Select location from list doesn't work 11 years 9 months ago #19664

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Could you make a better screenshot please? (or is our forum the one that changes the size :)) I cannot read the error messages from the screenshot.

Select location from list doesn't work 11 years 9 months ago #19667

  • Ton Driessen
  • Ton Driessen's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 1
This is what i got when i cleared my website cache and run
my website/hotspot.


Tijdstempel: 21-02-13 11:29:35
Error: The Components object is deprecated. It will soon be removed.
Bronbestand: resource://onepassword-at-agilebits-dot-com/api-utils/lib/loader.js -> resource://onepassword-at-agilebits-dot-com/api-utils/lib/sandbox.js -> resource://onepassword-at-agilebits-dot-com/api-utils/lib/content/content-proxy.js
Regel: 13

Tijdstempel: 21-02-13 11:29:35
Fout: Image corrupt or truncated: mt0.googleapis.com/vt?lyrs=m@207000000&s...tyle=api%7Csmartmaps
Bronbestand: mt0.googleapis.com/vt?lyrs=m@207000000&s...tyle=api%7Csmartmaps
Regel: 0

Tijdstempel: 21-02-13 11:29:35
Fout: Image corrupt or truncated: mt0.googleapis.com/vt?lyrs=m@207000000&s...tyle=api%7Csmartmaps
Bronbestand: mt0.googleapis.com/vt?lyrs=m@207000000&s...tyle=api%7Csmartmaps
Regel: 0

Tijdstempel: 21-02-13 11:29:35
Fout: Image corrupt or truncated: mt1.googleapis.com/vt?lyrs=m@207000000&s...tyle=api%7Csmartmaps
Bronbestand: mt1.googleapis.com/vt?lyrs=m@207000000&s...tyle=api%7Csmartmaps
Regel: 0

Tijdstempel: 21-02-13 11:29:35
Fout: Image corrupt or truncated: mt0.googleapis.com/vt?lyrs=m@207000000&s...tyle=api%7Csmartmaps
Bronbestand: mt0.googleapis.com/vt?lyrs=m@207000000&s...tyle=api%7Csmartmaps
Regel: 0

Tijdstempel: 21-02-13 11:29:35
Fout: Image corrupt or truncated: mt1.googleapis.com/vt?lyrs=m@207000000&s...tyle=api%7Csmartmaps
Bronbestand: mt1.googleapis.com/vt?lyrs=m@207000000&s...tyle=api%7Csmartmaps
Regel: 0

Tijdstempel: 21-02-13 11:29:35
Fout: Image corrupt or truncated: mt1.googleapis.com/vt?lyrs=m@207000000&s...tyle=api%7Csmartmaps
Bronbestand: mt1.googleapis.com/vt?lyrs=m@207000000&s...tyle=api%7Csmartmaps
Regel: 0

Tijdstempel: 21-02-13 11:31:27
Fout: Het Components-object wordt afgeraden. Het zal binnenkort worden verwijderd.
Bronbestand: resource://onepassword-at-agilebits-dot-com/api-utils/lib/loader.js -> resource://onepassword-at-agilebits-dot-com/api-utils/lib/sandbox.js -> resource://onepassword-at-agilebits-dot-com/api-utils/lib/content/content-proxy.js
Regel: 13

Select location from list doesn't work 11 years 9 months ago #19669

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
what is this?

Tijdstempel: 21-02-13 11:29:35
Error: The Components object is deprecated. It will soon be removed.
Bronbestand: resource://onepassword-at-agilebits-dot-com/api-utils/lib/loader.js -> resource://onepassword-at-agilebits-dot-com/api-utils/lib/sandbox.js -> resource://onepassword-at-agilebits-dot-com/api-utils/lib/content/content-proxy.js
Regel: 13

It is not coming from hotspots? Can you disable it on the hotspots page?

Select location from list doesn't work 11 years 9 months ago #19670

  • Ton Driessen
  • Ton Driessen's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 1
This is coming from FF. Here is some source...
Line 13 is this: let Ci = Components;

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at mozilla.org/MPL/2.0/ . */

"use strict";

/* Trick the linker in order to avoid error on `Components.interfaces` usage.
We are tricking the linker with `require('./content-proxy.js')` from
worjer.js in order to ensure shipping this file! But then the linker think
that this file is going to be used as a CommonJS module where we forbid usage
of `Components`.
*/
let Ci = Components;

/**
* Access key that allows privileged code to unwrap proxy wrappers through
* valueOf:
* let xpcWrapper = proxyWrapper.valueOf(UNWRAP_ACCESS_KEY);
* This key should only be used by proxy unit test.
*/
const UNWRAP_ACCESS_KEY = {};

Select location from list doesn't work 11 years 9 months ago #19671

  • Ton Driessen
  • Ton Driessen's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 42
  • Thank you received: 1
Hi Daniel,

I saw that there's remark and that some line is comment out in /media/com_hotspots/css/hotspots.css
As i can see this used for the slidemenu. Maybe it has also something to do
with the listbox? I am just thinking with you ;) i am not a pro.

93 /**
94 * don't use position here.
95 * For some reason mootools 1.2
96 * has problems with it. Position
97 * is set with js in hotspots.js
98 */

138 /**
139 * don't set position here - same bug as with slide_menu
140 */
141 #map_overlay_cont {
142 /* position:absolute;*/
  • Page:
  • 1
Time to create page: 0.175 seconds