Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
soko
Project
Project
Details
Activity
Releases
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
bitsoko services
soko
Commits
a72a1e0a
Commit
a72a1e0a
authored
Dec 13, 2018
by
gaseema.n
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://github.com/bitsoko-services/soko
parents
c7ca940b
a0dbb037
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
bitsoko.js
js/bitsoko.js
+0
-4
inventory.js
js/inventory.js
+2
-2
No files found.
js/bitsoko.js
View file @
a72a1e0a
...
@@ -72,10 +72,6 @@ function profileLoaded(p) {
...
@@ -72,10 +72,6 @@ function profileLoaded(p) {
$
(
'.profile-image'
).
attr
(
'src'
,
p
.
image
);
$
(
'.profile-image'
).
attr
(
'src'
,
p
.
image
);
//p.ownerid=1;
//p.ownerid=1;
localStorage
.
setItem
(
'soko-owner-id'
,
p
.
bitsokoUserID
);
localStorage
.
setItem
(
'soko-owner-id'
,
p
.
bitsokoUserID
);
M
.
toast
({
html
:
'Signing in...'
,
displayLength
:
3000
})
$
(
"#signingIn"
).
html
(
"Signing In. Please Wait"
);
$
(
"#signingIn"
).
html
(
"Signing In. Please Wait"
);
updateStores
();
updateStores
();
...
...
js/inventory.js
View file @
a72a1e0a
...
@@ -101,7 +101,7 @@ $(document).on('click touchstart', '.inventoryItems', function(e) {
...
@@ -101,7 +101,7 @@ $(document).on('click touchstart', '.inventoryItems', function(e) {
displayLength
:
10000
displayLength
:
10000
})
})
doFetch
({
doFetch
({
action
:
'
addS
ponsoredProduct'
,
action
:
'
s
ponsoredProduct'
,
store
:
localStorage
.
getItem
(
'soko-active-store'
),
store
:
localStorage
.
getItem
(
'soko-active-store'
),
do
:
'add'
,
do
:
'add'
,
id
:
getId
id
:
getId
...
@@ -123,7 +123,7 @@ $(document).on('click touchstart', '.inventoryItems', function(e) {
...
@@ -123,7 +123,7 @@ $(document).on('click touchstart', '.inventoryItems', function(e) {
var
sponsoredID
=
$
(
"#rmvSpnsrdProd"
).
attr
(
"sid"
);
var
sponsoredID
=
$
(
"#rmvSpnsrdProd"
).
attr
(
"sid"
);
$
(
this
).
unbind
(
event
);
$
(
this
).
unbind
(
event
);
doFetch
({
doFetch
({
action
:
'
removeS
ponsoredProduct'
,
action
:
'
s
ponsoredProduct'
,
store
:
localStorage
.
getItem
(
'soko-active-store'
),
store
:
localStorage
.
getItem
(
'soko-active-store'
),
do
:
'remove'
,
do
:
'remove'
,
id
:
sponsoredID
id
:
sponsoredID
...
...
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