|
@@ -29,6 +29,10 @@ $(document).on("submit", "form[method=get]", function() {
|
|
|
return false;
|
|
|
});
|
|
|
|
|
|
+$(document).on("change", "#bind input, #bind select", function () {
|
|
|
+ submitIfCompleted($(this).closest("form"));
|
|
|
+});
|
|
|
+
|
|
|
function uuid() {
|
|
|
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(c) {
|
|
|
var r = Math.random()*16|0, v = c == 'x' ? r : (r&0x3|0x8);
|