Changes for Rollup (#12924)
* Changes for rollup * remove variables.less
This commit is contained in:
parent
e2558308f6
commit
7c744acc49
@ -1,6 +1,6 @@
|
||||
{
|
||||
"css/erpnext.css": [
|
||||
"public/css/erpnext.css"
|
||||
"public/less/erpnext.less"
|
||||
],
|
||||
"js/erpnext-web.min.js": [
|
||||
"public/js/website_utils.js",
|
||||
|
@ -64,7 +64,7 @@ $.extend(shopping_cart, {
|
||||
},
|
||||
|
||||
set_cart_count: function() {
|
||||
var cart_count = getCookie("cart_count");
|
||||
var cart_count = frappe.get_cookie("cart_count");
|
||||
if(frappe.session.user==="Guest") {
|
||||
cart_count = 0;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
@import "../../../../frappe/frappe/public/less/variables.less";
|
||||
@import "variables.less";
|
||||
|
||||
.erpnext-footer {
|
||||
margin: 11px auto;
|
||||
|
@ -11,8 +11,8 @@
|
||||
|
||||
<script>
|
||||
frappe.ready(function() {
|
||||
if(get_url_arg("q")){
|
||||
var txt = get_url_arg("q");
|
||||
if(frappe.utils.get_url_arg("q")){
|
||||
var txt = frappe.utils.get_url_arg("q");
|
||||
$(".project-search-results").html("Search results for : " + encodeURIComponent(txt));
|
||||
$(".clear").toggle(true);
|
||||
}
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
<script>
|
||||
frappe.ready(function() {
|
||||
var txt = get_url_arg("search");
|
||||
var txt = frappe.utils.get_url_arg("search");
|
||||
$(".search-results").html("{{ _('Search results for') }}: " + encodeURIComponent(txt));
|
||||
window.search = txt;
|
||||
window.start = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user