Changeset 1079

Show
Ignore:
Timestamp:
05/12/2008 09:52:35 PM (2 years ago)
Author:
BrianKoontz
Message:

Fix ported to trunk (1.1.7). Refs #713, #760.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/3rdparty/plugins/wikkaedit/wikkaedit.js

    r870 r1079  
    245245WikkaEdit.prototype.showFormattingRules = function() { 
    246246        var newUrl = window.location.href; 
    247         newUrl = newUrl.replace(/[a-zA-Z0-9]+\/edit$/, "FormattingRules"); 
     247        newUrl = newUrl.replace(/[a-zA-Z0-9]+\/edit.*$/, "FormattingRules"); 
    248248        window.open(newUrl, "wikka_formatting_rules"); 
    249249}