Commit 7231f37f authored by user's avatar user
Browse files

check for null with xlet highlighting

parent 2d7fa2d7
...@@ -1979,7 +1979,10 @@ function gui_configure_io(cid, tag, is_iemgui, is_signal, width) { ...@@ -1979,7 +1979,10 @@ function gui_configure_io(cid, tag, is_iemgui, is_signal, width) {
function gui_highlight_io(cid, tag) { function gui_highlight_io(cid, tag) {
var xlet = get_item(cid, tag); var xlet = get_item(cid, tag);
xlet.classList.add('xlet_selected'); // must check for null (see gui_configure_io)
if (xlet !== null) {
xlet.classList.add('xlet_selected');
}
} }
function gui_message_drawborder(cid,tag,width,height) { function gui_message_drawborder(cid,tag,width,height) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment