Skip to content

JS Not working in PW2.73 #23

@somatonic

Description

@somatonic

This check added

//  https://processwire.com/talk/topic/5477-check-if-a-module-is-loaded/
		if(!class_exists("InputfieldPageTable", false)) {
			$this->config->scripts->add($this->config->urls->InputfieldPageTable . "InputfieldPageTable.js");
			$this->config->styles->add($this->config->urls->InputfieldPageTable . "InputfieldPageTable.css");
		}

Doesn't seem to work and the js doesn't get added. Thus it doesn't work on the js side.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions