@@ -6,7 +6,7 @@ define('wikia.intMap.poiCategories',
6
6
'wikia.intMap.utils' ,
7
7
'wikia.intMap.poiCategories.model'
8
8
] ,
9
- function ( $ , qs , w , utils , poiCategoriesModel ) {
9
+ function ( $ , qs , w , utils , poiCategoriesModel ) {
10
10
'use strict' ;
11
11
12
12
// reference to modal component
@@ -92,7 +92,7 @@ define('wikia.intMap.poiCategories',
92
92
triggerMarkerUpload
93
93
] ,
94
94
beforeClose : [
95
- function ( ) {
95
+ function ( ) {
96
96
utils . onBeforeCloseModal ( ! changesSaved ) ;
97
97
}
98
98
]
@@ -299,7 +299,7 @@ define('wikia.intMap.poiCategories',
299
299
300
300
/**
301
301
* @desc adds POI category id to hidden field
302
- * @param poiCategoryId
302
+ * @param { number } poiCategoryId
303
303
*/
304
304
function markPoiCategoryAsDeleted ( poiCategoryId ) {
305
305
// add POI category id to hidden field
@@ -332,7 +332,7 @@ define('wikia.intMap.poiCategories',
332
332
function saveMarkerImage ( data , $inputElementWrapper ) {
333
333
$inputElementWrapper
334
334
. find ( '.poi-category-marker-image-url' )
335
- . val ( data [ ' fileThumbUrl' ] ) ;
335
+ . val ( data . fileThumbUrl ) ;
336
336
}
337
337
338
338
/**
@@ -345,7 +345,7 @@ define('wikia.intMap.poiCategories',
345
345
$inputElement . val ( '' ) ;
346
346
$inputElementWrapper
347
347
. find ( '.poi-category-marker-image' )
348
- . attr ( 'src' , data [ ' fileThumbUrl' ] )
348
+ . attr ( 'src' , data . fileThumbUrl )
349
349
. removeClass ( 'hidden' )
350
350
. siblings ( 'span' )
351
351
. addClass ( 'hidden' ) ;
0 commit comments