Author: bklaas
Date: Thu Jul 15 12:59:26 2010
New Revision: 8950
URL: http://svn.slimdevices.com/jive?rev=8950&view=rev
Log:
Bug: n/a
Description: commented if clause for what will be used when a needsAccount flag
is added to myapps/appgallery/etc. items
Modified:
7.6/branches/new-setup/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
Modified:
7.6/branches/new-setup/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
URL:
http://svn.slimdevices.com/jive/7.6/branches/new-setup/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua?rev=8950&r1=8949&r2=8950&view=diff
==============================================================================
---
7.6/branches/new-setup/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
(original)
+++
7.6/branches/new-setup/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
Thu Jul 15 12:59:26 2010
@@ -701,7 +701,6 @@
-- performs the JSON action...
local function _performJSONAction(jsonAction, from, qty, step, sink, itemType,
cachedResponse)
log:debug("_performJSONAction(from:", from, ", qty:", qty, "):")
-
local useCachedResponse = false
if cachedResponse and type(cachedResponse) == 'table' then
log:warn("using cachedResponse: ", cachedResponse)
@@ -784,12 +783,14 @@
end
-- it's very helpful at times to dump the request table here to see
what command is being issued
- -- debug.dump(request)
+ -- debug.dump(request, 8)
-- XXX: temporary hack to push appgallery request to SN registration
applet
-- this needs to be changed to doing a check for if the menu item
requires an SN account
- -- requires a flag on the item
-
+
+ -- requires a flag on the item, probably contained in step.data, like:
+ -- if step and step.data and step.data.needsAccount then
+
if request[1] == 'appgallery' then
local playerRegistered =
appletManager:callService("accountRegistered", _player)
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins