﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
14382	Dialog tab is disabled if has content elements of html contain ID	José Ramírez		"Cheers,

In addition to what described here:
[https://dev.ckeditor.com/ticket/13193]

== Steps to reproduce ==

1. 
{{{
CKEDITOR.dialog.add('dsDialogSIL', function (editor)
        {
            return {
                title: 'Cargar datos SIL',
                minWidth: 400,
                minHeight: 200,
                contents:
                [
                    {
                        id: 'Tab1',
                        label: 'Tab1',
                        title: '',
                        expand: true,
                        padding: 0,
                        elements: [
                            {
                                type: 'html',
                                html: '<div class=""tab_container"">Sample <b>text</b>.</div><div id=""otherId"">Another div.</div>'
                            }
                        ]
                    },
                    {
                        id: 'Tab2',
                        label: 'Tab2',
                        title: '',
                        expand: true,
                        padding: 0,
                        elements: [
                            {
                                type: 'html',
                                html:
                                    '<div class=""tab_container"">' +
                                    '<p>' +
                                        'Sample text' +
                                    '</p>' +
                                    '</div>'
                            }
                        ]
                    },
                    {
                        id: 'tab-sil-sesiones',
                        label: 'Sesiones',
                        elements: [
                            {
                                type: 'text',
                                id: 'id',
                                label: 'Id'
                            }
                        ]
                    }
                ],
                onOk: function ()
                {
                    var dialog = this;

                    var abbr = editor.document.createElement('abbr');
                    abbr.setAttribute('title', dialog.getValueOf('tab-basic', 'title'));
                    abbr.setText(dialog.getValueOf('tab-basic', 'abbr'));

                    var id = dialog.getValueOf('tab-adv', 'id');
                    if (id)
                    {
                        abbr.setAttribute('id', id);
                    }

                    editor.insertElement(abbr);
                }
            };
        });
}}}


== Expected result ==
[[Image(http://i.imgur.com/cjy9NCj.png)]]

== Actual result ==
[[Image(http://i.imgur.com/UxvRBs3.png)]]

== Other details (browser, OS, CKEditor version, installed plugins) ==
CKEditor 4.5.7 - Latest
--

You can take the same example that '''j.swiderski''' upload  and just add id=""MyTab1"" the main DIV:

https://dev.ckeditor.com/attachment/ticket/13193/mytest.zip

Best regards."	Bug	confirmed	Normal		UI : Dialogs	4.3			
