Changeset 82310 in spip-zone


Ignore:
Timestamp:
May 10, 2014, 10:49:22 PM (5 years ago)
Author:
fil@…
Message:

le attr(value) ne passe plus dans cette version recente de jQuery, on utilise .val() a la place

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/selection_d_articles/selection_d_articles_3/selection_interface.html

    r65129 r82310  
    3939                [(#STATUT|puce_statut{article,#ID_ARTICLE,#ID_RUBRIQUE})]
    4040                </td>
    41                 <td class="arial2" style="width: 100%;"><a href="?exec=article&amp;id_article=#ID_ARTICLE">[(#SURTITRE)<br />]<b>#TITRE</b>[<br />(#SOUSTITRE)]</a></td>
     41                <td class="arial2" style="width: 100%;"><a href="?exec=article&amp;id_article=#ID_ARTICLE">[(#SURTITRE|supprimer_tags|trim)<br />]<b>#TITRE</b>[<br />(#SOUSTITRE)]</a></td>
    4242                <td class="arial1" style="white-space:nowrap;">[(#DATE|affdate)]</td>
    4343                <td style='vertical-align: middle; text-align: center; padding: 0px 20px; width:70px;'>[<a href="?exec=article&amp;id_article=#ID_ARTICLE" [style="display: block; height:(#LOGO_ARTICLE|image_reduire{70,60}|extraire_attribut{height})px]"><img src="(#LOGO_ARTICLE|image_reduire{70,60}|extraire_attribut{src}|url_absolue)" [style="(#LOGO_ARTICLE|image_reduire{70,60}|extraire_attribut{style})]"  /></a>]</td>
     
    6767
    6868[(#EVAL{autoriser('modifier','rubrique', [(#ENV{id_rubrique})])==1}|?{" ",""})
    69         <form onsubmit="valeur=Math.floor($('#ajouter_selection').attr('value')); if (valeur > 0){ $('#pave_selection').load('?action=selection_interface&amp;id_rubrique=#ENV{id_rubrique}&amp;ajouter_selection='+valeur); }; return false;" action="index.php" method="get">
     69        <form onsubmit="valeur=Math.floor($('#ajouter_selection').val()); if (valeur > 0){ $('#pave_selection').load('?action=selection_interface&amp;id_rubrique=#ENV{id_rubrique}&amp;ajouter_selection='+valeur); }; return false;" action="index.php" method="get">
    7070      <div style=" padding: 5px 10px; background:#FFF">
    7171         <input type="hidden" name="exec" value="rubrique" />
Note: See TracChangeset for help on using the changeset viewer.