← Back to team overview

mugle-dev team mailing list archive

Re: Displaying error messages on the UI

 

>
> In terms of implementation, we could just create a div in Mugle.html that
> would be directly accessible from all XXXViewBuilder classes. I just
> realised that there is a table with the ID "error-display" already but it
> doesn't seem to be used at the moment, except that it is removed from the
> DOM tree in Mugle.java.


The reason that div is there is, it displays an error message if JavaScript
is not enabled in the browser.
The moment Mugle.java is run, that means JavaScript is enabled and hence the
message is no longer needed.

-- 
*Prageeth Silva*

Follow ups

References