Subversion Repositories Applications.papyrus

Rev

Rev 1372 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1372 Rev 1422
Line 6... Line 6...
6
	modified BSD license. For more information on Dojo licensing, see:
6
	modified BSD license. For more information on Dojo licensing, see:
Line 7... Line 7...
7
 
7
 
8
		http://dojotoolkit.org/community/licensing.shtml
8
		http://dojotoolkit.org/community/licensing.shtml
Line -... Line 9...
-
 
9
*/
-
 
10
 
9
*/
11
 
10
 
12
 
11
dojo.provide("dojo.event.common");
13
dojo.provide("dojo.event.common");
12
dojo.require("dojo.lang.array");
14
dojo.require("dojo.lang.array");
13
dojo.require("dojo.lang.extras");
15
dojo.require("dojo.lang.extras");
Line 160... Line 162...
160
		if (arguments.length == 1) {
162
		if (arguments.length == 1) {
161
			var ao = arguments[0];
163
			var ao = arguments[0];
162
		} else {
164
		} else {
163
			var ao = interpolateArgs(arguments, true);
165
			var ao = interpolateArgs(arguments, true);
164
		}
166
		}
-
 
167
		if (dojo.lang.isString(ao.srcFunc) && (ao.srcFunc.toLowerCase() == "onkey")) {
-
 
168
			if (dojo.render.html.ie) {
-
 
169
				ao.srcFunc = "onkeydown";
-
 
170
				this.connect(ao);
-
 
171
			}
-
 
172
			ao.srcFunc = "onkeypress";
-
 
173
		}
165
		if (dojo.lang.isArray(ao.srcObj) && ao.srcObj != "") {
174
		if (dojo.lang.isArray(ao.srcObj) && ao.srcObj != "") {
166
			var tmpAO = {};
175
			var tmpAO = {};
167
			for (var x in ao) {
176
			for (var x in ao) {
168
				tmpAO[x] = ao[x];
177
				tmpAO[x] = ao[x];
169
			}
178
			}