From b66fa91b7cad5bc802a2e0fc6203c340f9760d40 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 5 Apr 2012 20:19:32 +0000 Subject: [PATCH] Allow progress to handle value sent in as label --- etemplate/js/et2_widget_progress.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etemplate/js/et2_widget_progress.js b/etemplate/js/et2_widget_progress.js index 6bdfd0026b..6ccb6f4990 100644 --- a/etemplate/js/et2_widget_progress.js +++ b/etemplate/js/et2_widget_progress.js @@ -125,6 +125,10 @@ var et2_progress = et2_valueWidget.extend([et2_IDetachedDOM], { this.set_value(_values["value"]); } + else if (_values["label"]) + { + this.set_value(_values["label"]); + } } });