intel/appframework

Variable mistyped in adding $.afui.showMask() timeout parameter

mithenks opened this issue · 0 comments

When I try to show a loading mask with
$.afui.showMask('Fetching data...');
I'm getting the following error:
Uncaught ReferenceError: timeout is not defined

This is due to a mistyped variable name. Line 622 of /master/src/af.ui.js
if (!value || typeof value !== "number") timeout = 15000;
must be
if (!value || typeof value !== "number") value = 15000;