Changes for Rollup (#12924)

* Changes for rollup

* remove variables.less
This commit is contained in:
Faris Ansari 2018-02-20 14:21:50 +05:30 committed by GitHub
parent e2558308f6
commit 7c744acc49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 6 deletions

View File

@ -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",

View File

@ -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;
}

View File

@ -1,4 +1,4 @@
@import "../../../../frappe/frappe/public/less/variables.less";
@import "variables.less";
.erpnext-footer {
margin: 11px auto;

View File

@ -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);
}

View File

@ -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;