ID:1748724
 
Resolved
Cloning a generic window or pane in winclone() with a type name "window" or "pane" (or the plural of either) did not work.
BYOND Version:507
Operating System:Windows 8 Pro 64-bit
Web Browser:Chrome 39.0.2171.95
Applies to:Webclient
Status: Resolved (507.1273)

This issue has been resolved.
Descriptive Problem Summary:
I receive the following JavaScript error:

Uncaught Not a valid idwebclient.dart.js:7643 bwebclient.dart.js:4940 aE.dawebclient.dart.js:4992 aE.Icwebclient.dart.js:1715 LB.ofwebclient.dart.js:2416 ob.$1webclient.dart.js:8199 TL.$0webclient.dart.js:7105 aX.kQwebclient.dart.js:6897 zdwebclient.dart.js:7698 ftwebclient.dart.js:7707 (anonymous function)

Near:

}else if(typeof b==="string"){x=document.getElementById(b)
if(x==null)throw H.b("Not a valid id")
b=C.xB.hc(b)
x.id=b}else throw H.b("Not an id or element")
w=this.hZ(0,x)
if(w==null)throw H.b("Not a valid control")


Occurs when dealing with a custom window control. Is winclone implemented? (NOTE: In this case the default template "window" is used to clone instead of an existing window)

The problem does not occur in DreamSeeker, a window control is created there.

To reproduce compile and run the SS99 project - link
winclone() is indeed supported, although the default window might not clone nicely. I'll look into your issue when I can.
Cloning a generic window or pane in winclone() with a type name "window" or "pane" (or the plural of either) did not work.
Lummox JR resolved issue with message:
Cloning a generic window or pane in winclone() with a type name "window" or "pane" (or the plural of either) did not work.