Gallery: remove method bug has been fixed
authorhjnim.kim <hjnim.kim@samsung.com>
Wed, 10 Apr 2013 07:04:36 +0000 (16:04 +0900)
committerYoumin Ha <youmin.ha@samsung.com>
Wed, 10 Apr 2013 14:57:33 +0000 (23:57 +0900)
Remove method bug has been fixed in gallery widget
It has been added 'px'

Change-Id: I8d80d41483085bd40251b74ca7b909a3d7907e2c

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

index cba659a..08674e4 100644 (file)
@@ -666,7 +666,7 @@ define( [ ], function ( ) {
                                        this.cur_img = this.prev_img;
                                        this.prev_img = this.prev_img.prev();
                                        if ( this.prev_img.length ) {
-                                               this._moveLeft( this.prev_img, -this.window_width);
+                                               this._moveLeft( this.prev_img, -this.window_width + 'px' );
                                                this._attach( index - 2, this.prev_img );
                                        }
                                        this.index--;
@@ -674,7 +674,7 @@ define( [ ], function ( ) {
                                        this.cur_img = this.next_img;
                                        this.next_img = this.next_img.next();
                                        if ( this.next_img.length ) {
-                                               this._moveLeft( this.next_img, this.window_width);
+                                               this._moveLeft( this.next_img, this.window_width + 'px' );
                                                this._attach( index + 2, this.next_img );
                                        }
                                }
@@ -684,7 +684,7 @@ define( [ ], function ( ) {
                                temp_img = this.prev_img;
                                this.prev_img = this.prev_img.prev();
                                if ( this.prev_img.length ) {
-                                       this._moveLeft( this.prev_img, -this.window_width);
+                                       this._moveLeft( this.prev_img, -this.window_width + 'px' );
                                        this._attach( index - 1, this.prev_img );
                                }
                                this.index--;
@@ -693,7 +693,7 @@ define( [ ], function ( ) {
                                temp_img = this.next_img;
                                this.next_img = this.next_img.next();
                                if ( this.next_img.length ) {
-                                       this._moveLeft( this.next_img, this.window_width);
+                                       this._moveLeft( this.next_img, this.window_width + 'px' );
                                        this._attach( index + 1, this.next_img );
                                }