Tags:
create new tag
, view all tags

SID-02360: Behaviour JS Questions

Status: Asked Asked TWiki version: 4.1.2 Perl version: 5.16.3
Category: CategoryJavaScript Server OS: CentOS 7 Last update: 40 minutes ago

I am developing a plugin on our twiki installation. I don't do it the regular way.

I linked my own JavaScript file inside the topic where the plugin will be active. The plugin adds a button. The button opens a window. In the window, the person fills in some data and the data is being sent to the server where an appropriate topic update will be made.

My linked JavaScript uses a flatpickr library - it's a library for calendar picker. When I initialize the flatpickr I get a message in my console saying: "document.getElementsBySelector http://localhost/twiki/pub/TWiki/BehaviourContrib/behaviour.compressed.js:76:22".

I read the documentation for the behaviour.js and I am not sure if I understand this correctly. Is behaviour.js used to register event handlers to JavaScript events? Nothing seems to be malfunctioning at the topic page - is it safe to ignore this error message?

-- TWiki Guest - 2018-05-07

Discussion and Answer

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Asked
Title Behaviour JS Questions
SupportCategory CategoryJavaScript
TWiki version 4.1.2
Server OS CentOS 7
Web server Apache 2.4.6
Perl version 5.16.3
Browser & version Firefox 59.0.3
Topic revision: r1 - 2018-05-07 - TWikiGuest
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.