Implement prototype for project selection
This commit is contained in:
@@ -75,6 +75,12 @@ li { margin-left: 20px;}
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#header .status {
|
||||
float: left;
|
||||
line-height: 45px;
|
||||
padding: 12px 20px;
|
||||
}
|
||||
|
||||
#header .menu {
|
||||
float: right;
|
||||
line-height: 45px;
|
||||
|
||||
@@ -173,4 +173,11 @@ $(document).ready(function() {
|
||||
}).mouseout(function() {
|
||||
$(this).removeClass('editable');
|
||||
});
|
||||
|
||||
$('select[name="activeProject"]').bind('change', function () {
|
||||
var url = $(this).val();
|
||||
if (url) {
|
||||
window.location = url;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user