luci-0.9: backport r6422
authorJo-Philipp Wich <jow@openwrt.org>
Sat, 13 Nov 2010 14:00:54 +0000 (14:00 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sat, 13 Nov 2010 14:00:54 +0000 (14:00 +0000)
modules/admin-full/luasrc/view/admin_system/packages.htm

index 6b6d51b7c26f49d087b4ffb09721333437e121dd..7a0e7b7c130f50d76304fd9cf6cc8e0d570865e8 100644 (file)
@@ -64,7 +64,7 @@ local free_byte = space_free * fstat.frsize
                                <div class="cbi-value">
                                        <label class="cbi-value-title"><%:filter%>:</label>
                                        <div class="cbi-value-field">
-                                               <input type="text" name="query" size="20" value="<%=query%>" />
+                                               <input type="text" name="query" size="20" value="<%=luci.util.pcdata(query)%>" />
                                                <input type="submit" class="cbi-input-find" name="search" value="<%:a_s_packages_search%>" />
                                        </div>
                                </div>