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