Changeset 2559:2901695f9a58
- Timestamp:
- 11/15/13 17:52:25 (12 years ago)
- Branch:
- 2.6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/meta-editor.js
r2546 r2559 2 2 function metaEditor(target,meta_field,meta_type,meta_options) { 3 3 this.target = target; 4 5 4 this.meta_field = meta_field; 6 5 this.meta_type = meta_type; 6 7 // options 8 meta_options = meta_options || {}; 7 9 this.meta_url = meta_options.meta_url || this.meta_url; 8 10 this.list_type = meta_options.list_type || this.list_type; … … 138 140 139 141 showMetaList: function(list_type,target) { 140 141 142 var params = { 142 143 f: 'getMeta', … … 180 181 a_more.append(This.text_all + String.fromCharCode(160)+String.fromCharCode(187)); 181 182 a_more.click(function() { 182 This.showMetaList(' more-all',target);183 This.showMetaList('all',target); 183 184 return false; 184 185 }); … … 186 187 } 187 188 188 if (list_type != 'more-all') {189 if (list_type == 'all') { 189 190 pl.addClass('hide'); 190 191
Note: See TracChangeset
for help on using the changeset viewer.