mirror of
https://github.com/mrclay/minify.git
synced 2025-08-11 08:34:19 +02:00
builder/_index.js : fixed group config helper, focus field after "Add" button
This commit is contained in:
@@ -172,7 +172,7 @@ var MUB = {
|
||||
});
|
||||
if (fail || ! sources.length)
|
||||
return;
|
||||
$('#groupConfig').val(" 'keyName' => '//" + sources.join("', '//") + "',");
|
||||
$('#groupConfig').val(" 'keyName' => array('//" + sources.join("', '//") + "'),");
|
||||
var uri = MUB.getBestUri(sources)
|
||||
,uriH = uri.replace(/</, '<').replace(/>/, '>').replace(/&/, '&');
|
||||
$('#uriA').html(uriH)[0].href = uri;
|
||||
@@ -191,6 +191,7 @@ var MUB = {
|
||||
MUB.addLi();
|
||||
MUB.updateAllTestLinks();
|
||||
$('#update').show().click(MUB.update);
|
||||
$('#sources li:last input')[0].focus();
|
||||
}
|
||||
/**
|
||||
* Runs on DOMready
|
||||
|
Reference in New Issue
Block a user