Problem/Motivation

Currently the javascript is loaded inline via the module file, however, according to Drupal standards this should be loaded via a separate javascript file.

Proposed resolution

The javascript code should be moved into a dedicated javascript file and imported into the module via the libraries and module files. A patch will follow below that does this.

Remaining tasks

Review and testing by the community.

Comments

roaldnel created an issue. See original summary.

roaldnel’s picture

Status: Active » Needs review
StatusFileSize
new3.03 KB

The patch is attached as promised.

batigolix’s picture

Status: Needs review » Reviewed & tested by the community

  • roaldnel committed 944b02f9 on 1.0.x
    Issue #3451515 by roaldnel: Move inline javascript into its own file
    
roaldnel’s picture

Version: 1.0.x-dev » 1.0.5
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.