Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dropdown-menu on Azure #71

Open
bartdeboeck opened this issue Feb 23, 2013 · 5 comments
Open

dropdown-menu on Azure #71

bartdeboeck opened this issue Feb 23, 2013 · 5 comments

Comments

@bartdeboeck
Copy link

Hi,

I've deployed the mvc sample on Azure and noticed that a dropdown-menu does not work on Azure, it does, however, work if the solution is deployed locally. The dropdown-toggle button is displayed on Azure, but nothing happens if clicked.

Has anyone seen similar behavior?

Thanks,
Bart

@MisterJames
Copy link
Collaborator

Haven't seen this. Can you point us at an URL and I'll take a look? Also, check your F12 tools in IE or Chrome, or FireBug if you use FireFox. See if you're getting any JavaScript errors and let us know what you see.

@andreaskviby
Copy link

Hey
Have you got this to work? I have the same error, works like a charm locally but when deployed to Azure it breaks the navigation menu both in Chrome and on iPhone. My url is on: http://weddingday.azurewebsites.net/#

@erichexter
Copy link
Owner

looks like there is a javascript error.. something wrong with the minified
javascript.

  1. Uncaught TypeError: Cannot set property 'unobtrusive' of undefined
    js:1http://weddingday.azurewebsites.net/js?v=ysFAkO-uvknVns4kF9rcQ1RecsxJEoOhCYDGTxWHCEA1
    1. (anonymous
      function)js:1http://weddingday.azurewebsites.net/js?v=ysFAkO-uvknVns4kF9rcQ1RecsxJEoOhCYDGTxWHCEA1
    2. (anonymous function)

Eric Hexter

blog | http://Hex.LosTechies.com
info | http://www.linkedin.com/in/erichexter

On Sat, Mar 16, 2013 at 7:10 PM, Andreas Kviby notifications@github.comwrote:

Hey
Have you got this to work? I have the same error, works like a charm
locally but when deployed to Azure it breaks the navigation menu both in
Chrome and on iPhone. My url is on: http://weddingday.azurewebsites.net/#


Reply to this email directly or view it on GitHubhttps://github.com//issues/71#issuecomment-15014620
.

@andreaskviby
Copy link

Any solution?

Med vänlig hälsning,

Andreas Kviby
VD
10FINGERS AB
Forsgränd 6, 3 tr
611 32 NYKÖPING
andreas@10fingers.se
Tel 072-225 60 15

17 mar 2013 kl. 03:26 skrev Eric Hexter notifications@github.com:

looks like there is a javascript error.. something wrong with the minified
javascript.

  1. Uncaught TypeError: Cannot set property 'unobtrusive' of undefined
    js:1http://weddingday.azurewebsites.net/js?v=ysFAkO-uvknVns4kF9rcQ1RecsxJEoOhCYDGTxWHCEA1
  2. (anonymous
    function)js:1http://weddingday.azurewebsites.net/js?v=ysFAkO-uvknVns4kF9rcQ1RecsxJEoOhCYDGTxWHCEA1
  3. (anonymous function)

Eric Hexter

blog | http://Hex.LosTechies.com
info | http://www.linkedin.com/in/erichexter

On Sat, Mar 16, 2013 at 7:10 PM, Andreas Kviby notifications@github.comwrote:

Hey
Have you got this to work? I have the same error, works like a charm
locally but when deployed to Azure it breaks the navigation menu both in
Chrome and on iPhone. My url is on: http://weddingday.azurewebsites.net/#


Reply to this email directly or view it on GitHubhttps://github.com//issues/71#issuecomment-15014620
.


Reply to this email directly or view it on GitHub.

@TomDecreton
Copy link

I got my dropdown working by deleting the following 2 lines :

  • from jquery-1.9.1.min.js

//@ sourceMappingURL=jquery.min.map

  • from jquery-migrate-1.1.1.min.js

//@ sourceMappingURL=dist/jquery-migrate.min.map

The reason why it fails is explained here:

http://stackoverflow.com/questions/14402741/jquery-1-9-0-and-modernizr-cannot-be-minified-with-the-asp-net-web-optimization

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants