1
0
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:
Steve Clay
2008-09-18 16:47:39 +00:00
parent a364c35d6b
commit 58a5bea967

View File

@@ -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(/</, '&lt;').replace(/>/, '&gt;').replace(/&/, '&amp;');
$('#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