mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 23:22:52 +00:00
[minor] README.md + encode query parameter in search
This commit is contained in:
@@ -38,6 +38,14 @@ The ERPNext code is licensed as GNU General Public License (v3) and the Document
|
||||
|
||||
---
|
||||
|
||||
## Contributing
|
||||
|
||||
1. [Pull Request Requirements](https://github.com/frappe/erpnext/wiki/Pull-Request-Guidelines)
|
||||
1. [Translations](https://translate.erpnext.com)
|
||||
1. [Chart of Accounts](https://charts.erpnext.com)
|
||||
|
||||
---
|
||||
|
||||
## Logo and Trademark
|
||||
|
||||
The brand name ERPNext and the logo are trademarks of Frappe Technologies Pvt. Ltd.
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
frappe.ready(function() {
|
||||
if(get_url_arg("q")){
|
||||
var txt = get_url_arg("q");
|
||||
$(".project-search-results").html("Search results for : " + txt);
|
||||
$(".project-search-results").html("Search results for : " + encodeURIComponent(txt));
|
||||
$(".clear").toggle(true);
|
||||
}
|
||||
var thread = null;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<script>
|
||||
frappe.ready(function() {
|
||||
var txt = get_url_arg("search");
|
||||
$(".search-results").html("{{ _('Search results for') }}: " + txt);
|
||||
$(".search-results").html("{{ _('Search results for') }}: " + encodeURIComponent(txt));
|
||||
window.search = txt;
|
||||
window.start = 0;
|
||||
window.get_product_list();
|
||||
|
||||
Reference in New Issue
Block a user