Changeset 456 in main


Ignore:
Timestamp:
11/05/11 11:34:42 (8 years ago)
Author:
pcosquer
Message:

navigate: fix dnd with urls which contain a get query

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openPLM/media/js/navigate.js

    r410 r456  
    247247        }); 
    248248        var uri = new String(document.location); 
    249         var uri_rx = /\/object\/(.*)\/navigate\/?$/; 
     249        var uri_rx = /\/object\/(.*)\/navigate\/?/; 
    250250        var result = uri_rx.exec(uri); 
    251251        if (result === null){ 
    252             uri_rx = /\/user\/(.*)\/navigate\/?$/; 
     252            uri_rx = /\/user\/(.*)\/navigate\/?/; 
    253253            result = uri_rx.exec(uri); 
    254254            uri = "/ajax/navigate/User/" + (result[1]) + "/-/"; 
Note: See TracChangeset for help on using the changeset viewer.