Author: bklaas
Date: Mon Feb 4 20:41:01 2008
New Revision: 1812
URL: http://svn.slimdevices.com?rev=1812&root=Jive&view=rev
Log:
Bug: 6908
Description: add textarea window when data.networkerror comes down the browse
sink
also fixes endless loop of requests when networkerror occurs
Modified:
branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua
Modified:
branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua
URL:
http://svn.slimdevices.com/branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua?rev=1812&root=Jive&r1=1811&r2=1812&view=diff
==============================================================================
---
branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua
(original)
+++
branches/7.0/jive/src/pkg/jive/share/applets/SlimBrowser/SlimBrowserApplet.lua
Mon Feb 4 20:41:01 2008
@@ -693,7 +693,16 @@
if step.window and data and data.goNow then
_goNow(data.goNow)
end
- if step.window and data and data.window and
data.window.textArea then
+ if data.networkerror then
+ if step.menu then
+ step.window:removeWidget(step.menu)
+ end
+ local textArea = Textarea("textarea", data.networkerror)
+ if step.window then
+
step.window:setTitle(_string("SLIMBROWSER_PROBLEM_CONNECTING"), 'settingstitle')
+ step.window:addWidget(textArea)
+ end
+ elseif step.window and data and data.window and
data.window.textArea then
if step.menu then
step.window:removeWidget(step.menu)
end
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins