Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3132 by igoro...@gmail.com: Error in 3rdparty.min javascript file
http://code.google.com/p/reviewboard/issues/detail?id=3132

*** READ THIS BEFORE POSTING!
***
*** You must complete this form in its entirety, or your bug report will be
rejected.
***
*** For customer support, please post to reviewbo...@googlegroups.com
***
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** Do not post confidential information in this bug report!


What version are you running?
1.7.17

What's the URL of the page containing the problem?
any page, for example login page : <site>/account/login/

What steps will reproduce the problem?
1. Go to the login page
2. open a code inspector (for example developer tools in Chrome)
3. check the console

What is the expected output?
no errors in the console

What do you see instead?
Uncaught ReferenceError: Backbone is not defined base.min.9651809ef5d5.js:1
(anonymous function) base.min.9651809ef5d5.js:1
(anonymous function)

What operating system are you using? What browser?
Ubuntu 12.04, Chrome (Version 30.0.1599.101), Firefox (24.0)

Please provide any additional information below.
The root of the problem is in the 3rdparty.min.*.js file that is loaded in the page. In lines 35 and 36 there is a comment split in two:
35--> beforeSend.call(this, xhr, o);        };        $.ajax(s);    }//
36--> private function for handling file uploads(hat tip to YAHOO!)
This prevents the 3rdparty JavaScript stuff to be loaded and/or instantiated. To solve the problem I fixed this file by hand (I didn't dig back to find how this file is generated) by moving the "//" to the comment line:
35--> beforeSend.call(this, xhr, o);        };        $.ajax(s);    }
36--> //private function for handling file uploads(hat tip to YAHOO!)



--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to