Author: ayoung
Date: Fri Mar 4 06:15:21 2011
New Revision: 9337
URL: http://svn.slimdevices.com/jive?rev=9337&view=rev
Log:
task : XMLBrowser Library Browser
Allow context menus to be associated with any action just by setting the
isContextMenu flag.
Modified:
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
Modified:
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
URL:
http://svn.slimdevices.com/jive/7.6/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua?rev=9337&r1=9336&r2=9337&view=diff
==============================================================================
---
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
(original)
+++
7.6/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
Fri Mar 4 06:15:21 2011
@@ -2086,7 +2086,8 @@
actionName == "add" and
(item['addAction'] == 'more' or
-- using addAction is temporary to
ensure backwards compatibility
-- until all 'add' commands are removed
in SC in favor of 'more'
- _safeDeref(chunk, 'base', 'addAction')
== 'more') then
+ _safeDeref(chunk, 'base', 'addAction')
== 'more') or
+ isContextMenu then
log:debug('Context Menu')
-- Bug 14061: send command flag to have
XMLBrowser fork CM response off to get playback controls
if jsonAction.params then
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins