Windows blank in client after using find and replace

What i did was i used find on all windows in the project and i searched for “fpmi.nav.centerWindow*”

then i replaced with the string “#removed centerWindow function”

after it finished the replace I saved and published the project. when i opened the client all the components were missing and the startup window was blank.