Changeset 85137 in spip-zone for _plugins_/chatbox


Ignore:
Timestamp:
Oct 12, 2014, 9:37:57 AM (7 years ago)
Author:
gouz@…
Message:

modification redirection inutile et renommage id pr eviter conflit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/chatbox/trunk/formulaires/chatbox.html

    r84890 r85137  
    88        div.style.backgroundColor='red';
    99        $('#nbc').css({color: 'red'});
    10         document.formulaire_chatbox.submit.disabled=true;
     10        document.formulaire_chatbox.chatbox_submit.disabled=true;
    1111    } else {
    1212        div.style.backgroundColor='white';
    1313        $('#nbc').css({color: 'green'});
    14         document.formulaire_chatbox.submit.disabled=false;
     14        document.formulaire_chatbox.chatbox_submit.disabled=false;
    1515    }
    1616    $('#nbc').html('<em><:chatbox:max:> : '+div.value.length + '/' + max_length + '</em>');
     
    2626    ajaxReload('chat_box');
    2727    if (jQuery.modalbox) setTimeout(function(){$.modalboxclose();}, 2000);
    28     else setTimeout(function(){document.location="[(#URL_SITE_SPIP)]"}, 2000);
    2928});
    3029//-->
     
    4140         
    4241          <p class="tcenter italic ts"><:chatbox:explication_utilisation_chatbox:></p>
    43           <input id="submit" class="submit" type="submit" value="<:envoyer:>"/><br/>
     42          <input id="chatbox_submit" class="submit" type="submit" value="<:envoyer:>"/><br/>
    4443    </form>
    4544</div>
Note: See TracChangeset for help on using the changeset viewer.