mirror of
https://github.com/adnexus/shuttle-select.git
synced 2026-07-26 22:08:50 +00:00
starting the title bar logic
This commit is contained in:
@@ -211,7 +211,7 @@
|
||||
"MX":"Mexico, United Mexican States",
|
||||
"MS":"Montserrat",
|
||||
"AN":"Netherlands Antilles",
|
||||
"CW":"Curaçao",
|
||||
"CW":"Curaçao",
|
||||
"AW":"Aruba",
|
||||
"SX":"Sint Maarten (Netherlands)",
|
||||
"BQ":"Bonaire, Saint Eustatius and Saba",
|
||||
|
||||
+7
-1
@@ -95,6 +95,7 @@
|
||||
};
|
||||
_$list.html(formattedItems.join('\n'));
|
||||
_$items = _$el.find('ul.items li');
|
||||
setLocation(location);
|
||||
bindCheckboxEvents();
|
||||
}
|
||||
|
||||
@@ -120,6 +121,11 @@
|
||||
});
|
||||
}
|
||||
|
||||
var insertTitleBar = function() {
|
||||
var titleBar = $('<div class="title-bar"/>');
|
||||
titleBar.append('<h3>'+location+'</h3>').appendTo(_$el.find('.tier'));
|
||||
}
|
||||
|
||||
var setLocation = function() {
|
||||
_$selectedList.append('<li>'+location+'</li>');
|
||||
}
|
||||
@@ -357,7 +363,7 @@
|
||||
"Mexico, United Mexican States",
|
||||
"Montserrat",
|
||||
"Netherlands Antilles",
|
||||
"Curaçao",
|
||||
"Curaçao",
|
||||
"Aruba",
|
||||
"Sint Maarten (Netherlands)",
|
||||
"Bonaire, Saint Eustatius and Saba",
|
||||
|
||||
Reference in New Issue
Block a user