# HG changeset patch
# User adam-novak
# Date 1382137012 14400
# Node ID a9bf691d47135ed12c0c6d549cf32ddeb5141354
# Parent 740c9df2ffe87b564f39aed53d0e5e717cb4e70c
Uploaded
diff -r 740c9df2ffe8 -r a9bf691d4713 hexagram/hexagram.html~
--- a/hexagram/hexagram.html~ Fri Oct 18 18:40:35 2013 -0400
+++ b/hexagram/hexagram.html~ Fri Oct 18 18:56:52 2013 -0400
@@ -33,13 +33,12 @@
-
+
Current Layout:
diff -r 740c9df2ffe8 -r a9bf691d4713 hexagram/hexagram.js
--- a/hexagram/hexagram.js Fri Oct 18 18:40:35 2013 -0400
+++ b/hexagram/hexagram.js Fri Oct 18 18:56:52 2013 -0400
@@ -3746,7 +3746,8 @@
if(layout_names.length == 1) {
// This is the very first layout. Pull it up.
- $("#layout-search").select2("val", layout_names[0]);
+ $("#layout-search").select2("data", {id: default_layout,
+ text: default_layout});
}
}
}, "text");
diff -r 740c9df2ffe8 -r a9bf691d4713 hexagram/hexagram.js~
--- a/hexagram/hexagram.js~ Fri Oct 18 18:40:35 2013 -0400
+++ b/hexagram/hexagram.js~ Fri Oct 18 18:56:52 2013 -0400
@@ -3743,6 +3743,12 @@
}
// Add layout names to global array of names
layout_names.push(label);
+
+ if(layout_names.length == 1) {
+ // This is the very first layout. Pull it up.
+ $("#layout-search").select2("data", {id: default_layout,
+ text: default_layout});
+ }
}
}, "text");