// Set visibility on help button
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<li class="help-context-{$label|escape:'htmlall':'UTF-8'}" style="display:none">
|
<li class="help-context-{$label|escape:'htmlall':'UTF-8'}">
|
||||||
<a id="desc-{$label|escape:'htmlall':'UTF-8'}-help"
|
<a id="desc-{$label|escape:'htmlall':'UTF-8'}-help"
|
||||||
class="toolbar_btn"
|
class="toolbar_btn"
|
||||||
href="#"
|
href="#"
|
||||||
|
|||||||
+3
-1
@@ -25,8 +25,10 @@ function displayHelpButton(label, iso_user, country_iso_code, _PS_VERSION_){
|
|||||||
if(msg.content != 'none' && msg.content != '')
|
if(msg.content != 'none' && msg.content != '')
|
||||||
{
|
{
|
||||||
$('ul.cc_button').append(msg.content);
|
$('ul.cc_button').append(msg.content);
|
||||||
$('.help-context-'+help_class_name).fadeIn("fast").show();
|
$('.help-context-'+help_class_name);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
$('.help-context-'+help_class_name).attr('disabled', 'disabled');
|
||||||
},
|
},
|
||||||
beforeSend: function(data)
|
beforeSend: function(data)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user