Commit a72a1e0a authored by gaseema.n's avatar gaseema.n

Merge branch 'master' of https://github.com/bitsoko-services/soko

parents c7ca940b a0dbb037
...@@ -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();
......
...@@ -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: 'addSponsoredProduct', action: 'sponsoredProduct',
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: 'removeSponsoredProduct', action: 'sponsoredProduct',
store: localStorage.getItem('soko-active-store'), store: localStorage.getItem('soko-active-store'),
do: 'remove', do: 'remove',
id: sponsoredID id: sponsoredID
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment