RIFT-15224: UI Composer: Leafref dropdowns need to always create value as string 13/913/1
authorKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Wed, 11 Jan 2017 02:00:34 +0000 (21:00 -0500)
committerKIRAN KASHALKAR <kiran.kashalkar@riftio.com>
Wed, 11 Jan 2017 02:00:34 +0000 (21:00 -0500)
Signed-off-by: KIRAN KASHALKAR <kiran.kashalkar@riftio.com>
skyquake/plugins/composer/src/src/libraries/guid.js

index 752c204..49ca736 100644 (file)
@@ -17,7 +17,7 @@
  *
  */
 'use strict';
-const TEMPLATE = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx';
+const TEMPLATE = 'axxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx';
 export default function guid(len = TEMPLATE.length) {
        // http://byronsalau.com/blog/how-to-create-a-guid-uuid-in-javascript/
        return TEMPLATE.replace(/[xy]/g, function (c) {