Author: bklaas
Date: Tue Oct 12 21:06:16 2010
New Revision: 9167

URL: http://svn.slimdevices.com/jive?rev=9167&view=rev
Log:
Bug: n/a
Description: don't save browse history for commands with 'search:' substring in 
them


Modified:
    
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua

Modified: 
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
URL: 
http://svn.slimdevices.com/jive/7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua?rev=9167&r1=9166&r2=9167&view=diff
==============================================================================
--- 
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
 (original)
+++ 
7.5/trunk/squeezeplay/src/squeezeplay/share/applets/SlimBrowser/SlimBrowserApplet.lua
 Tue Oct 12 21:06:16 2010
@@ -223,7 +223,9 @@
        log:debug('Saving this json command to browse history table:')
        log:debug(commandString)
 
-       if lastBrowse and not isContextMenu then
+
+       -- don't save browse history for context menus or searches
+       if lastBrowse and not isContextMenu and not string.match(commandString, 
'search:') then
                from = 
_getNewStartValue(_player:getLastBrowseIndex(commandString))
        else
                lastBrowse = { index = 1 }

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins

Reply via email to