React router clicks on the same link - hyperlink

I have using react-router for my project. where i click on a link that render by component multiple times. it push multiples link that the same path to the History. So how can i prevent it. Thank!

It was bug in history package that react-router use.
According to this issue they released fix in version 1.13.1.
So everything you need is upgrade your history package

Related

Cannot create hyperlink in Sitecore 8.1

As stated in the subject I am having an issue with Sitecore 8.1
The thing is that when I go to an item in the CMS and try to create a hyperlink in the rich-text-editor I got this select item hanging. It is showing like 'loading' but it goes infinitely - never stops.
Could someone help me?
If this was an upgraded environment from an earlier version of Sitecore (7.x) to Sitecore 8.1, I would verify that the appropriate /sitecore/shell files are on the file system for the 8.1.
A way to do this is to take the 8.1 zip file download, and just copy over the sitecore/shell folder. This should ensure that all appropriate 8.1/speak files exist as intended.
If this was a fresh install of sitecore 8.1, then as suggested in comments, I would look through logs to see if you can identify a suspect log error.

Can I have two apps in one webpage in Dart + polymer?

I have a dart + polymer app, which I have uploaded to my home page. The entry point is not index.html. It works fine.
I have now developed a home page, index.html, again in polymer and dart. Essentially, it's another app of course. It's n the same top level folder as my app. I've been playing around uploading (which takes ages!) the packages subfolders, but can't get index.html to display at all - yet.
So my question is, will the packages subfolders conflict with each other, and I shouldn't do it?
Thanks
cheers
Steve
If they are both polymer apps on the exact same version and all their packages are the exact same version then you might be ok, but I wouldn't suggest it.
Instead, can you make a single package which has two entry points (one for each of your apps)? If you want to keep your code separate for each of them you can do that still by moving everything into the lib folder and using a git or path dependency on each package (you probably don't want to publish your apps to pub).

GSP files do not open in intellij editor community edition

I copied my grails app to another computer and now .gsp files do not open in the editor. They also show a G icon with an arrow next to them. Dragging and dropping or double clicking do nothing. Updating intellij didn't help either
As Dónal mentioned, Grails is not one of the frameworks supported by IntelliJ IDEA Community Edition (you need the Ultimate Edition). You can view the feature comparison here.
Hi I am probably answering now when u no longer need the answer but I bumped into the same issue yesterday and only solved it now. There are chances that you associated the .gsp file type with a program which cannot be opened by intellij in your case GOSU. To fix it go to: File>Settings>Editor>File Types
In the file types go to Gosu Program Source and *.gsp should be in the registered patterns. Remove it and apply changes then you are good to go.
Re-installing community version fixed and gsp files now open in the editor

Changing Grails SDK in IntelliJ IDEA Doesn't Work on Plugin Modules

IDEA 11.1.2
I have a Grails app I need to upgrade. The application consists of several modules. One being the application and a few others being plugins. I right clicked on the application and went to Grails -> Change SDK Version. I chose the version I wanted, then IDEA asked me if I wanted to upgrade the application. Clicked yes and all was good.
I've been trying to do the same thing on the plugin modules. IDEA never asks if I want to upgrade and it doesn't appear to change the SDK. If I upgrade the modules from the command line, when I come back to IDEA, it thinks there is a version mismatch and automatically downgrades me without even asking.
Is there a workaround for this?
It worked for me in this IDEA version. Make sure that you change Grails version in application.properties of all plugins:
app.grails.version=2.1.0
Then right-click on every module (plugin), Grails, Change SDK version. It should be changed already.
Have exactly same problem - app + plugins wich requires different SDK (for testing).
After some investigation found that it's an IntelliJ IDEA bug IDEA-114418. So, I think, it will be good if you'll vote for this bug there too.
I also had the same bug. I took extreme measures to rectify it.
I deleted the old grails from the Global Libraries. Go to file>Project Structure > Global Libraries . It should complain that this is used by a module.
Then I had to add grails framework support, but added the new one.

Why asp.net generate Jquery version 1.3.2 NuGet has version 1.6,2

when I run the application, the system crushes because of a bug related to
Problems with simple modal in IE9
The problem is that, even though there was an update on JQuery, the system continue to genrate a file jquery-1.3.2.min.js and I don't know where this comes from.
Tried the configuration files or on the internet. The file jquery-1.6.2 is also generated.
Any one can help ?
Its probably being brought over by NuGet during update or it may also be coming from source control. I wouldn't worry about it, just reference the jquery version you want and that should be enough for you assuming the file is in your solution and the link is right.

Resources