Skip to content
Extraits de code Groupes Projets
Valider fdbcce15 rédigé par sgiehl's avatar sgiehl
Parcourir les fichiers

fixes #8863 - open plugin popover for all plugin detail links

parent 40afd5b4
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -13,7 +13,7 @@ $(document).ready(function () {
watch: 'window'
});
$('.marketplace').on('click', '.plugin-details', function (event) {
$('a.plugin-details[data-pluginName]').on('click', function (event) {
event.preventDefault();
var pluginName = $(this).attr('data-pluginName');
......
......@@ -15,13 +15,13 @@
{% for name,plugin in pluginsHavingUpdate %}
<tr {% if plugin.isActivated|default(false) %}class="active-plugin"{% else %}class="inactive-plugin"{% endif %}>
<td class="name">
<a href="javascript:void(0);" data-pluginName="{{ plugin.name|e('html_attr') }}">
<a href="javascript:void(0);" data-pluginName="{{ plugin.name|e('html_attr') }}" class="plugin-details">
{{ plugin.name }}
</a>
</td>
<td class="vers">
{% if plugin.repositoryChangelogUrl %}
<a href="javascript:void(0);" title="{{ 'CorePluginsAdmin_Changelog'|translate }}" data-activePluginTab="changelog" data-pluginName="{{ plugin.name|e('html_attr') }}">{{ plugin.currentVersion }} => {{ plugin.latestVersion }}</a>
<a href="javascript:void(0);" title="{{ 'CorePluginsAdmin_Changelog'|translate }}" class="plugin-details" data-activePluginTab="changelog" data-pluginName="{{ plugin.name|e('html_attr') }}">{{ plugin.currentVersion }} => {{ plugin.latestVersion }}</a>
{% else %}
{{ plugin.currentVersion }} => {{ plugin.latestVersion }}
{% endif %}
......@@ -156,7 +156,7 @@
<td class="name" style="white-space:nowrap;">
<a name="{{ name|e('html_attr') }}"></a>
{% if not plugin.isCorePlugin and name in marketplacePluginNames -%}
<a href="javascript:void(0);"
<a href="javascript:void(0);" class="plugin-details"
data-pluginName="{{ name|e('html_attr') }}"
>{{ name }}</a>
{%- else %}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter