~canonical-sysadmins/wordpress/3.9.x

« back to all changes in this revision

Viewing changes to wp-includes/js/tinymce/themes/advanced/js/link.js

  • Committer: Chris Jones
  • Date: 2010-01-19 13:17:33 UTC
  • Revision ID: cmsj@tenshu.net-20100119131733-rf31jv9k1v0xzo2h
[CJ] Import wordpress 2.9.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
                                        ed.dom.setAttribs(e, {
64
64
                                                href : f.href.value,
65
65
                                                title : f.linktitle.value,
66
 
                                                target : f.target_list ? f.target_list.options[f.target_list.selectedIndex].value : null,
67
 
                                                'class' : f.class_list ? f.class_list.options[f.class_list.selectedIndex].value : null
 
66
                                                target : f.target_list ? getSelectValue(f, "target_list") : null,
 
67
                                                'class' : f.class_list ? getSelectValue(f, "class_list") : null
68
68
                                        });
69
69
                                }
70
70
                        });
72
72
                        ed.dom.setAttribs(e, {
73
73
                                href : f.href.value,
74
74
                                title : f.linktitle.value,
75
 
                                target : f.target_list ? f.target_list.options[f.target_list.selectedIndex].value : null,
76
 
                                'class' : f.class_list ? f.class_list.options[f.class_list.selectedIndex].value : null
 
75
                                target : f.target_list ? getSelectValue(f, "target_list") : null,
 
76
                                'class' : f.class_list ? getSelectValue(f, "class_list") : null
77
77
                        });
78
78
                }
79
79