dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #27326
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13588: use header-delay-message instead of span based message for alerting when a property already exist...
------------------------------------------------------------
revno: 13588
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2014-01-06 14:34:46 +0100
message:
use header-delay-message instead of span based message for alerting when a property already exists in form
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/viewPatientRegistationForm.js
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/viewPatientRegistationForm.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/viewPatientRegistationForm.js 2014-01-06 13:31:42 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/viewPatientRegistationForm.js 2014-01-06 13:34:46 +0000
@@ -46,7 +46,7 @@
modal:false,
overlay:{background:'#000000', opacity:0.1},
width:485,
- height:460,
+ height:400,
position: [$("body").width()- 50, 0],
close: function(ev, ui) {
$("#propertiesButton").removeClass("ui-state-active2");
@@ -381,7 +381,8 @@
htmlCode += " >";
if( checkExisted( id ) ){
- setMessage( "<span class='bold'>" + i18n_property_is_inserted + "</span>" );
+ // setMessage( "<span class='bold'>" + i18n_property_is_inserted + "</span>" );
+ setHeaderDelayMessage(i18n_property_is_inserted);
return;
}else{
var oEditor = jQuery("#designTextarea").ckeditorGet();