Commit dc59e2da authored by Pierre-Yves Chibon's avatar Pierre-Yves Chibon

Enter new groups in the form only if groups are managed outside pagure

parent 84620383
......@@ -52,7 +52,7 @@ $( document ).ready(function() {
labelField: 'group',
searchField: 'group',
maxItems: 1,
create: true,
create: {{ (not config.get('ENABLE_GROUP_MNGT', False)) | lower }},
load: function(query, callback) {
if (!query.length) return callback();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment