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

Clone: Unable to add new tile. #8

Open
waldropnet opened this issue Apr 14, 2017 · 13 comments
Open

Clone: Unable to add new tile. #8

waldropnet opened this issue Apr 14, 2017 · 13 comments
Assignees
Labels

Comments

@waldropnet
Copy link

Cloning tile results in "Unable to add new tile" error. Any idea what is causing this issue?

@imthenachoman
Copy link
Owner

What version are you on and what actions are you taking in the order you take them? Are you able to add a new tile?

@imthenachoman imthenachoman self-assigned this Apr 15, 2017
@waldropnet
Copy link
Author

version 1.5. I went about adding several new tiles, then deleted all but one of them in favor of trying the clone function. When I try to clone the remaining initial tile I get the message "Unable to add new tile". I have tried placing it in several positions within the cewp.

@imthenachoman
Copy link
Owner

That is very odd. The code to add a new one and clone one is exactly the same. Any way you could send me an Excel dump of your nSPTiles1_5 list? If not, let me see if I can recreate the error another way.

@waldropnet
Copy link
Author

waldropnet commented Apr 18, 2017

I realized this morning that the buttons that I could not clone had java script links already setup in them. Once I removed the script I was able to clone with no problem. I would be glad to send the list to email address but cannot upload direct.

@imthenachoman
Copy link
Owner

Wow. Great debugging. Any way you could tell me the JS you had in that tile so I can figure out what is wrong? And thanks!

@waldropnet
Copy link
Author

waldropnet commented Apr 19, 2017

{window.open("http://XXXX.aspx", "_blank", "toolbar=no,scrollbars=no,resizable=no,width=240,height=200,top=0,left=1000"); }

Just a simple script to open a SharePoint page in a sized window. The script works fine. But I could not clone a tile with this inserted as the link.

@imthenachoman
Copy link
Owner

Thanks. I'll do some debugging to figure out what the issue is.

@imthenachoman
Copy link
Owner

Can you tell me what browser and SP version you are using? When I test this on SP 2013 on IE 11 I am able to successfully lone a tile that has JS like what you pasted.

@imthenachoman
Copy link
Owner

And/or if you could please e-mail me the Excel dump? My e-mail address is at http://nsptiles.js.org/#support--issues--contact--help.

@mobilekasey
Copy link

I have experienced this same issue with 1.5.

@imthenachoman
Copy link
Owner

imthenachoman commented Nov 4, 2017

@mobilekasey so if tile link type is javascript and you have some code as the tile link URL then you can't clone it?

@imthenachoman
Copy link
Owner

@waldropnet and @mobilekasey Have y'all noticed this issue with 1.5.1? I am unable to recreate the issue.

@mobilekasey
Copy link

mobilekasey commented Apr 18, 2018 via email

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

No branches or pull requests

3 participants