Initial version of geolocation support

Change-Id: Ia1a18ac336131520bbc67f52194f4aa9c547ea67
This commit is contained in:
Niklas Laxström
2012-08-30 10:23:59 +00:00
committed by Amir E. Aharoni
parent fde6b18e40
commit 64c26ad137
6 changed files with 63 additions and 9 deletions

View File

@@ -130,9 +130,14 @@
},
quicklist: function() {
if ( $.isFunction( this.options.quickList ) ) {
this.options.quickList = this.options.quickList();
}
if ( !this.options.quickList ) {
return;
}
var $column;
var quickList = this.options.quickList;
var quickListLength = ( quickList.length <= 16 ) ? quickList.length : 16;