Like SystemiConnectFri 15 Oct 2021, 04:50
Auto Save MessagesLGforumFri 26 Feb 2021, 13:31
New tutorial questionTheCrowMon 15 Feb 2021, 08:12
Support iOS Emojis (and other platforms)LGforumSun 14 Feb 2021, 01:25
LGforum (2806)
Problem with the mobile version et the tabs channel Vote_lcapProblem with the mobile version et the tabs channel Voting_barProblem with the mobile version et the tabs channel Vote_rcap 
Mr.Easybb (1587)
Problem with the mobile version et the tabs channel Vote_lcapProblem with the mobile version et the tabs channel Voting_barProblem with the mobile version et the tabs channel Vote_rcap 
Bloodbath (745)
Problem with the mobile version et the tabs channel Vote_lcapProblem with the mobile version et the tabs channel Voting_barProblem with the mobile version et the tabs channel Vote_rcap 
Rukiafan (533)
Problem with the mobile version et the tabs channel Vote_lcapProblem with the mobile version et the tabs channel Voting_barProblem with the mobile version et the tabs channel Vote_rcap 
Dom (513)
Problem with the mobile version et the tabs channel Vote_lcapProblem with the mobile version et the tabs channel Voting_barProblem with the mobile version et the tabs channel Vote_rcap 
puppycheese (446)
Problem with the mobile version et the tabs channel Vote_lcapProblem with the mobile version et the tabs channel Voting_barProblem with the mobile version et the tabs channel Vote_rcap 
pedro (330)
Problem with the mobile version et the tabs channel Vote_lcapProblem with the mobile version et the tabs channel Voting_barProblem with the mobile version et the tabs channel Vote_rcap 
Neymar (301)
Problem with the mobile version et the tabs channel Vote_lcapProblem with the mobile version et the tabs channel Voting_barProblem with the mobile version et the tabs channel Vote_rcap 
Hitsu (281)
Problem with the mobile version et the tabs channel Vote_lcapProblem with the mobile version et the tabs channel Voting_barProblem with the mobile version et the tabs channel Vote_rcap 
Flora (275)
Problem with the mobile version et the tabs channel Vote_lcapProblem with the mobile version et the tabs channel Voting_barProblem with the mobile version et the tabs channel Vote_rcap 


Problem with the mobile version et the tabs channel

avatarDDril
Status : No status yet...

Posts : 44
Join date : 2014-05-29
Tue 21 Oct 2014, 07:39
Good morning,

I have a little problem with your AWC plugin. The "achat_tabs" (channel) is not actived in the mobile version.

I search the problem and I see in the JS an error ? But I am not sure, the JS is a domain I'm not familiar...

Code:
.before('<div id="achat_tabs" style="margin-left:181px"></div>');a.in_array(a.admin_settings.can_open_tabs,a.user("id"))&&!a.mobile&&(a.id("achat_tabs").innerHTML+='<span id="achat_add_tab" class="achat_tab" title="'+a.t("Add a new tab")+'" onclick="parent.avacweb_chat.tabs.start.user()">+</span>');

In code source, for the mobile version, the HTML is empty :

Code:
<div id="achat_tabs" style="margin-left: 181px;"></div>

But in the normal version

Code:
<div id="achat_tabs" style="margin-left: 181px;"><span id="achat_tab_pub" class="achat_tab selected">HRP</span><span id="achat_tab_828049" class="achat_tab">RP1</span><span id="achat_tab_828050" class="achat_tab">RP2</span><span id="achat_tab_828051" class="achat_tab">RP3</span><span id="achat_add_tab" class="achat_tab" title="Ajout d'un onglet" onclick="parent.avacweb_chat.tabs.start.user()">+</span></div>

Can you help me ?

Thanks in advance.
BloodbathBloodbath
Status : No status yet...

Posts : 745
Join date : 2013-05-31
Age : 28
Tue 21 Oct 2014, 13:53
It's right in the code you posted:

Code:
a.in_array(a.admin_settings.can_open_tabs,a.user("id"))&&!a.mobile&&(a.id("achat_tabs").innerHTML+='< span id="achat_add_tab" class="achat_tab" title="'+a.t("Add a new tab")+'" onclick="parent.avacweb_chat.tabs.start.user()">+</span>');

I have an unminified version of the AWC JS on my hard drive which I can't look up right now (so I don't know what avacweb_chat.in_array does exactly), but the "achat_tabs" only fills if the device is not a mobile. The behaviour you are reporting is not an error but intended.
avatarDDril
Status : No status yet...

Posts : 44
Join date : 2014-05-29
Tue 21 Oct 2014, 14:36
Oh, thanks for the information, shame it is not possible to have it on the mobile version.

Best regard.
BloodbathBloodbath
Status : No status yet...

Posts : 745
Join date : 2013-05-31
Age : 28
Tue 21 Oct 2014, 14:51
I believe LG is working on improving the version, but sadly mobile phones range from really old devices which can't handle AWC to new devices that can handle it, so see it rather as a problem of technology than AWC's, okay? Smile
avatarDDril
Status : No status yet...

Posts : 44
Join date : 2014-05-29
Tue 21 Oct 2014, 15:07
No problem for me ! I ask to my forum pass to the site version on their mobile.

Thanks for the feedback.
Sponsored content