libruy / artdialog

Automatically exported from code.google.com/p/artdialog
0 stars 0 forks source link

artDialog 报错 #66

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. 报错

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
4.1.6 

Please provide any additional information below.

Uncaught TypeError: Property 'focus' of object function 
(a,b,c){a=a||{};if("string"===typeof 
a||1===a.nodeType)a={content:a,fixed:!t};var d;d=g.defaults;var 
f=a.follow=1===this.nodeType&&this||a.follow,i;for(i in 
d)a[i]===l&&(a[i]=d[i]);h.each({ok:"yesFn",cancel:"noFn",close:"closeFn",init:"i
nitFn",okVal:"yesText",cancelVal:"noText"},function(b,d){a[b]=a[b]!==l?a[b]:a[d]
});"string"===typeof 
f&&(f=h(f)[0]);a.id=f&&f[w+"follow"]||a.id||w+z;d=g.list[a.id];if(f&&d)return 
d.follow(f).zIndex().focus();if(d)return 
d.zIndex().focus();if(t)a.fixed=!1;if(!h.isArray(a.button))a.button=a.button?[a.
button]:[];if(b!==l)a.ok=b;if(c!==l)a.cancel=c;a.ok&&a.button.push({name:a.okVal
,callback:a.ok,focus:!0});a.cancel&&a.button.push({name:a.cancelVal,callback:a.c
ancel});g.defaults.zIndex=a.zIndex;z++;return g.list[a.id]=o?o._init(a):new 
g.fn._init(a)} is not a function 

Original issue reported on code.google.com by yolio2...@gmail.com on 22 Aug 2012 at 4:00

Attachments: