Changeset 1591 for cpc/trunk/project/web


Ignore:
Timestamp:
Oct 3, 2010, 9:06:06 PM (11 years ago)
Author:
teymour
Message:

Lien Javascriptisé partageable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/web/js/fonctions.js

    r1574 r1591  
    7676    $('#jstitle').css('display', 'none');
    7777  });
     78  //Redirection d'un lien envoyé depuis une page ajax
     79  url = document.location+'';
     80  if (url.match(/#date=/) && constructLien) {
     81      document.location = constructLien(url.replace(/.*#date=/, ''));
     82  }
    7883
    7984}); // fin document ready
Note: See TracChangeset for help on using the changeset viewer.