From 2aed9b0974ab1c1d0d381b85eac619f78761ab37 Mon Sep 17 00:00:00 2001 From: Scott Baker Date: Wed, 21 May 2014 10:10:55 -0700 Subject: [PATCH] 'saving' message and disable button to prevent multi-click --- planetstack/templates/admin/dashboard/customize.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/planetstack/templates/admin/dashboard/customize.html b/planetstack/templates/admin/dashboard/customize.html index 3f1d2c6..274040e 100644 --- a/planetstack/templates/admin/dashboard/customize.html +++ b/planetstack/templates/admin/dashboard/customize.html @@ -65,6 +65,8 @@ $(document).ready(function() { }); }); $('#btn-save').bind('click', function() { + $( "#btn-save").unbind() + $( "#btn-save" ).html("
Saving ...
"); var items=[]; $("#select-to option").each(function() { items.push($(this).val()); }); $.ajax({ -- 2.45.2