UI: add UNI & IPVC tabs (work in-progress)
[unimgr.git] / dlux / cpeui / cpeui-module / src / main / resources / cpeui / services / cpeui.dialogs.js
index 2ed7d85c1d1eecf31db3155f5704deba2364c3b5..14706860fd83d3678e734784a7423c719e4a444a 100644 (file)
@@ -56,6 +56,12 @@ define([ 'app/cpeui/cpeui.module' ], function(cpeui) {
       $mdDialog.show(confirm).then(callback_ok, callback_cancel);
     };
 
+    svc.alert = function(title, content, callback_ok) {
+      var alert = $mdDialog.alert().title(title).textContent(content).ok(
+          'Ok');
+      $mdDialog.show(alert).then(callback_ok);
+    };
+    
     return svc;
   });