JavaScript questions @Milo and @Alex (Design/Themes)

by Micha ⌂, Tuesday, August 16, 2016, 10:32 (2485 days ago) @ Auge


We only need to set or remove a class name, set appropriate CSS-rules for the default template and remove the JS-setted foo.style.display orders.

Yes that's right.

Are there further places with similar behaviours?

I suppose so.

I saw the all spinner graphics beside the submit buttons, where visibility:hidden; will be toggled. But I didn't found the corresponding JS-code.

I belive, it is located at posting.js

Are you aware of additional places?

No, I'm sorry. We have to check every modification.

Is it possible to add theme-dependent JS-code without interaction with the main.js?

You can add another JavaScript file. To avoid conflicts, choose unique class-names.


applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences

Complete thread:

 RSS Feed of thread