Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
5940342f
Commit
5940342f
authored
Oct 23, 2017
by
Ned Batchelder
Committed by
GitHub
Oct 23, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16180 from caesar2164/shopping-cart-style-fixes
Fix Shopping-cart CSS and JS
parents
9f3f3a50
c0fd667b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
lms/static/sass/views/_shoppingcart.scss
+0
-1
lms/templates/shoppingcart/shopping_cart.html
+2
-2
No files found.
lms/static/sass/views/_shoppingcart.scss
View file @
5940342f
...
@@ -579,7 +579,6 @@ $light-border: 1px solid $gray-l5;
...
@@ -579,7 +579,6 @@ $light-border: 1px solid $gray-l5;
opacity
:
0
.8
;
opacity
:
0
.8
;
box-shadow
:
none
;
box-shadow
:
none
;
border
:
none
;
border
:
none
;
background
:
none
;
width
:
auto
;
width
:
auto
;
height
:
auto
;
height
:
auto
;
text-shadow
:
none
;
text-shadow
:
none
;
...
...
lms/templates/shoppingcart/shopping_cart.html
View file @
5940342f
...
@@ -409,8 +409,8 @@ from openedx.core.lib.courses import course_image_url
...
@@ -409,8 +409,8 @@ from openedx.core.lib.courses import course_image_url
var
oldId
=
data
[
'oldToNewIdMap'
][
i
][
'oldId'
];
var
oldId
=
data
[
'oldToNewIdMap'
][
i
][
'oldId'
];
var
newId
=
data
[
'oldToNewIdMap'
][
i
][
'newId'
];
var
newId
=
data
[
'oldToNewIdMap'
][
i
][
'newId'
];
$
(
'input.spin-counter[data-item-id]='
+
oldId
).
data
(
'item-id'
,
newId
);
$
(
"input.spin-counter[data-item-id='"
+
oldId
+
"']"
).
data
(
'item-id'
,
newId
);
$
(
'button.btn-remove[data-item-id]='
+
oldId
).
data
(
'item-id'
,
newId
);
$
(
"button.btn-remove[data-item-id='"
+
oldId
+
"']"
).
data
(
'item-id'
,
newId
);
}
}
if
(
isbusinessType
){
if
(
isbusinessType
){
$
(
"div[name='payment']"
).
addClass
(
'hidden'
);
$
(
"div[name='payment']"
).
addClass
(
'hidden'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment