Page MenuHomePhabricator

'Search and replace' does not functioning
Closed, ResolvedPublic

Description

Author: nadeejw

Description:
screen shot - Search and replace IE7

Steps to reproduce:

  1. Navigate to Wikimedia main page.
  2. Open a random page in edit mode.
  3. Click on the 'Advanced' link.
  4. Click on the 'Search and replace' button.
  5. Perform a search and replace.

Actual results:
Nothing happened.
Internet explorer 7 : Java script error displayed.

URL : http://prototype.wikimedia.org/rc-en/index.php/Main_Page
Version : 1.17alpha (r80667)


Version: unspecified
Severity: major

Attached:

Search_and_replace.JPG (960×1 px, 139 KB)

Details

Reference
bz26975

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:13 PM
bzimport added a project: WikiEditor.
bzimport set Reference to bz26975.

For what reason was the bug re-opened? Does the problem persist? Any new feedback?

Looking at live prototype site in IE7:

Line: 960
Char: 1
Error: Object doesn't support this property or method
Code: 0

And in IE8 where I have an actual damn debugger.... looks like this line:

searchStr = searchStr.escapeRE()

There is no escapeRE function on the string.

Not an IE-specific bug at all -- just incorrect use of a function that isn't on strings, but is a custom extension on jQuery that we add! Sigh.