mirror of
https://github.com/mrclay/minify.git
synced 2025-08-12 00:54:35 +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)
|
if (fail || ! sources.length)
|
||||||
return;
|
return;
|
||||||
$('#groupConfig').val(" 'keyName' => '//" + sources.join("', '//") + "',");
|
$('#groupConfig').val(" 'keyName' => array('//" + sources.join("', '//") + "'),");
|
||||||
var uri = MUB.getBestUri(sources)
|
var uri = MUB.getBestUri(sources)
|
||||||
,uriH = uri.replace(/</, '<').replace(/>/, '>').replace(/&/, '&');
|
,uriH = uri.replace(/</, '<').replace(/>/, '>').replace(/&/, '&');
|
||||||
$('#uriA').html(uriH)[0].href = uri;
|
$('#uriA').html(uriH)[0].href = uri;
|
||||||
@@ -191,6 +191,7 @@ var MUB = {
|
|||||||
MUB.addLi();
|
MUB.addLi();
|
||||||
MUB.updateAllTestLinks();
|
MUB.updateAllTestLinks();
|
||||||
$('#update').show().click(MUB.update);
|
$('#update').show().click(MUB.update);
|
||||||
|
$('#sources li:last input')[0].focus();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* Runs on DOMready
|
* Runs on DOMready
|
||||||
|
Reference in New Issue
Block a user