HW-390: Remove unwanted changes
authorMukesh Ram <mukesh@compucorp.co.uk>
Fri, 6 Oct 2017 07:40:01 +0000 (13:10 +0530)
committerMukesh Ram <mukesh@compucorp.co.uk>
Fri, 6 Oct 2017 07:40:01 +0000 (13:10 +0530)
ang/crmUi.js

index 473aa965cd00ab212b1f003c254ae83ac6b0f897..6a54b58b7bf8d39ba23baee0dac7992c5631227f 100644 (file)
     .directive('crmUiSelect', function ($parse, $timeout) {
       return {
         require: '?ngModel',
+        priority: 1,
         scope: {
           crmUiSelect: '='
         },
               // If the CMS has already added title markup to the page, use it
               $('h1').not('.crm-container h1').each(function() {
                 if (_.trim($(this).html()) === pageTitle) {
-                  $(this).html(newPageTitle);
+                  $(this).addClass('crm-page-title').html(newPageTitle);
                   $el.hide();
                 }
               });