Subversion Repositories wpShopGermany4

Rev

Rev 6148 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6148 Rev 6244
Line 71... Line 71...
71
                opt.source = ar;
71
                opt.source = ar;
72
                opt.type = 'select';
72
                opt.type = 'select';
73
				opt.value = value; //j;
73
				opt.value = value; //j;
74
 
74
 
75
			}
75
			}
-
 
76
			else if (options.type == 'checklist')
-
 
77
			{
-
 
78
				
-
 
79
				opt.type = 'checklist';
-
 
80
				opt.source = [];
-
 
81
				opt.value = options.value;
-
 
82
				
-
 
83
				for (var i in options.data)
-
 
84
				{
-
 
85
				
-
 
86
					opt.source.push( { value: i, text: options.data[i] } );
-
 
87
					
-
 
88
				}
-
 
89
				
-
 
90
			}
76
			else
91
			else
77
			{
92
			{
78
 
93
 
79
				opt.display = function(value, sourceData) {
94
				opt.display = function(value, sourceData) {
80
		        
95
		        
81
					jQuery(this).html(sourceData);
96
					jQuery(this).html(sourceData);
82
				
97
				
83
				};
98
				};
84
				
99
				
85
			}
100
			}			
86
 
101
 
87
            if (typeof options.callback == "function") opt.success = options.callback;
102
            if (typeof options.callback == "function") opt.success = options.callback;
88
			
103
			
89
			jQuery(this).editable(opt);
104
			jQuery(this).editable(opt);
90
			
105