summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/static
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-11-04 15:44:00 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-10 13:29:17 +0000
commit5f52614a878269fe7837b7198e653377b25b91d8 (patch)
treecccfa1e509182a2a219f7cb8474200ecff22816f /bitbake/lib/toaster/toastergui/static
parent2a3dd32d669f4d114fe9c978c9fc1269c2566b8a (diff)
downloadpoky-5f52614a878269fe7837b7198e653377b25b91d8.tar.gz
bitbake: toaster: newcustomimage Move modal dialog out of newcustomimage template
Move the modal template and JS out of the newcustomimage page so that it can also be used by the image details page. (Bitbake rev: c310bc6bab1a33124906dd57b3c63462a773ff25) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static')
-rw-r--r--bitbake/lib/toaster/toastergui/static/js/newcustomimage_modal.js (renamed from bitbake/lib/toaster/toastergui/static/js/newcustomimage.js)5
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/newcustomimage.js b/bitbake/lib/toaster/toastergui/static/js/newcustomimage_modal.js
index 935b21ede8..71a28f7b2a 100644
--- a/bitbake/lib/toaster/toastergui/static/js/newcustomimage.js
+++ b/bitbake/lib/toaster/toastergui/static/js/newcustomimage_modal.js
@@ -1,6 +1,7 @@
1"use strict"; 1"use strict";
2 2
3function newCustomImagePageInit(ctx){ 3/* Used for the newcustomimage_modal actions */
4function newCustomImageModalInit(ctx){
4 5
5 var newCustomImgBtn = $("#create-new-custom-image-btn"); 6 var newCustomImgBtn = $("#create-new-custom-image-btn");
6 var imgCustomModal = $("#new-custom-image-modal"); 7 var imgCustomModal = $("#new-custom-image-modal");
@@ -44,6 +45,4 @@ function newCustomImagePageInit(ctx){
44 } 45 }
45 }); 46 });
46 } 47 }
47
48
49} 48}