Skip to content

Remove jQuery #12

@Andries-Smit

Description

@Andries-Smit

This widget does nicely do what is needed. However it loads jquery
https://github.com/mendix/InputReferenceSelector/blob/master/src/refkit/widget/InputRefSelector.js#L24

Looking at the use, it does make no sens to use it

$("div#" + this.id).focusin(function() {
	$(this).addClass("MxClient_Focus");
	$(this).css("outline", "#333 auto 2px");
	if ($("div#" + self.id + " div").hasClass("dijitTextBoxFocused")) {
		$("div#" + self.id + " div").css("outline", "rgb(0, 0, 0) auto 0px");
	}
});

$("div#" + this.id).focusout(function() {
	$(this).removeClass("MxClient_Focus");
	$(this).css("outline", "transparent auto 0px");
});

Could this be removed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions