mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge remote-tracking branch 'upstream/dev' into nametags_to_value
This commit is contained in:
@@ -134,7 +134,7 @@ var View = Backbone.View.extend({
|
||||
_.each(option.tags, function(tag){ tags_with_values.push(tag[0] + (tag[1] ? ":"+tag[1] : '' ))});
|
||||
var filterstr = _.reduce( tags_with_values, function( memo, tag ) { return memo + tag + ' ' }, '' );
|
||||
var filterhtml = '<div class="ui-tags">' +
|
||||
_.reduce( tags_with_values, function( memo, tag ) { return memo + ' <div class="label label-info">' + tag + '</div>' }, '' )
|
||||
_.reduce( tags_with_values, function( memo, tag ) { return memo + ' <div class="label label-info">' + _.escape( tag ) + '</div>' }, '' )
|
||||
+ '</div>';
|
||||
self.data2.push( { order: index, id: option.value, text: option.label, filterhtml: filterhtml, filterstr: filterstr } );
|
||||
});
|
||||
@@ -154,7 +154,7 @@ var View = Backbone.View.extend({
|
||||
});
|
||||
},
|
||||
formatResult : function( result ) {
|
||||
return result.text + result.filterhtml;
|
||||
return _.escape( result.text ) + result.filterhtml;
|
||||
}
|
||||
});
|
||||
this.$( '.select2-container .select2-search input' ).off( 'blur' );
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user