michmech / xonomy

A schema-driven XML editor for the web.
MIT License
91 stars 32 forks source link

Missing Xonomy.focus in newAttribute #29

Closed fdebef closed 6 years ago

fdebef commented 6 years ago

In Xonomy.newAttribute is used Xonomy.focus function, that is not defined, if I understand it correctly, line 1247 should look like this:

if(parameter.value=="") Xonomy.click($(html).prop("id"), "attributeValue"); else focus($(html).prop("id"), "attributeValue");

michmech commented 6 years ago

Ah, that was a typo. The function should be called Xonomy.setFocus. Fixed now. Thank you!