Export 0.1.62
[platform/framework/web/web-ui-fw.git] / src / widgets / notification / js / jquery.mobile.tizen.notification.js
index 1843aac..49821a9 100644 (file)
                                container = this._get_container();
 
                        if ( this.type === 'ticker' ) {
-                               container.find(".ui-ticker-btn").append( this.btn );
+                               container.find(".ui-ticker-btn").append( this.btn ).trigger("create");
 
                                this.btn.bind( "vmouseup", function () {
                                        self.close();
                                elem = $( this.element ),
                                i;
 
-                       this.btn = $("<a href='#' class='ui-input-cancel' title='close' data-theme='s'>Close</a>")
-                               .tap( function ( event ) {
-                                       event.preventDefault();
-                               })
-                               .buttonMarkup({
-                                       inline: true,
-                                       corners: true,
-                                       shadow: true
-                               });
+                       this.btn = $('<div data-role="button" data-inline="true">Close</div>');
 
                        this.seconds = elem.jqmData('interval');
                        this.type = elem.jqmData('type') || 'popup';