progress: set to init state at pending bar
authorMinkyu Kang <mk7.kang@samsung.com>
Wed, 20 Feb 2013 02:29:48 +0000 (11:29 +0900)
committerYoumin Ha <youmin.ha@samsung.com>
Thu, 7 Mar 2013 12:04:17 +0000 (21:04 +0900)
If not running the pending bar when pageshow,
the shape of pending bar is not displayed properly.

Change-Id: I77b80ea449da07e130a99b2f605d34ec9a14a4d8

src/widgets/progress/js/jquery.mobile.tizen.progress.js

index babec55..2d86a8c 100644 (file)
                                init: false,
                                runningClass: runningClass
                        } );
+
+                       if ( style === "pending" ) {
+                               $( this.element ).append( this.html );
+                               this.init = true;
+                       }
+
                        this._refresh();
                }
        } ); /* End of widget */