Author: fmueller
Date: Tue Jan 31 04:20:50 2012
New Revision: 9594
URL: http://svn.slimdevices.com/jive?rev=9594&view=rev
Log:
Bug: n/a
Description: Do not push diagnostic window if the error state isn't true
anymore, i.e. errorCode is positive.
Modified:
7.7/trunk/squeezeplay/src/squeezeplay_squeezeos/share/applets/Diagnostics/DiagnosticsApplet.lua
Modified:
7.7/trunk/squeezeplay/src/squeezeplay_squeezeos/share/applets/Diagnostics/DiagnosticsApplet.lua
URL:
http://svn.slimdevices.com/jive/7.7/trunk/squeezeplay/src/squeezeplay_squeezeos/share/applets/Diagnostics/DiagnosticsApplet.lua?rev=9594&r1=9593&r2=9594&view=diff
==============================================================================
---
7.7/trunk/squeezeplay/src/squeezeplay_squeezeos/share/applets/Diagnostics/DiagnosticsApplet.lua
(original)
+++
7.7/trunk/squeezeplay/src/squeezeplay_squeezeos/share/applets/Diagnostics/DiagnosticsApplet.lua
Tue Jan 31 04:20:50 2012
@@ -702,6 +702,7 @@
local errorCode = iface:getNetworkResult()
if type(errorCode) == 'number' and errorCode >= 0 then
log:warn('A positive number means there is no error. Do not
push a diags window in this condition.')
+ return false
elseif type(errorCode) == 'number' then
log:warn('Error code is listed as: ', errorCode)
else
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins