Changeset 94580 in spip-zone


Ignore:
Timestamp:
Jan 13, 2016, 5:05:42 PM (5 years ago)
Author:
marcimat@…
Message:

Autre notice PHP en moins.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/albums/trunk/formulaires/albums_deplacer_documents.php

    r86340 r94580  
    212212                $id_form .= ($contexte_objet) ? "_${objet}${id_objet}" : "";
    213213                //if (_request('valider')) $callback = "jQuery('${id_form}').find('.boutons').hide();";
    214                 if (_request('annuler')) $callback = "jQuery('${id_form}').slideUp(500,function(){jQuery(this).find('.reponse_formulaire').hide();});";
     214                $callback = '';
     215                if (_request('annuler')) {
     216                        $callback = "jQuery('${id_form}').slideUp(500,function(){jQuery(this).find('.reponse_formulaire').hide();});";
     217                }
    215218
    216219                $js = "if (window.jQuery) jQuery(function(){ajaxReload('liste_albums',{callback:function(){ ${callback} }});${ajaxReload_documents}});";
Note: See TracChangeset for help on using the changeset viewer.