~registry/dhis2-academy/group_6

« back to all changes in this revision

Viewing changes to dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/javascript/scheduling.js

  • Committer: Ole Seglem
  • Date: 2011-12-02 15:52:29 UTC
  • mfrom: (4968.1.254 6)
  • Revision ID: oleseglem@gmail.com-20111202155229-zhpp14nqyvxlqndm
merged with lp:~dhis-academy/dhis2-academy/6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
$( document ).ready( function() 
 
3
{
 
4
        if ( $( '#isRunning' ).val() == 'true' )
 
5
        {
 
6
                $( '.scheduling' ).attr( 'disabled', 'disabled' );
 
7
        }
 
8
        else
 
9
        {
 
10
                $( '.scheduling' ).removeAttr( 'disabled' );
 
11
        }
 
12
} );
 
13
 
 
14
function submitSchedulingForm()
 
15
{
 
16
        $( '.scheduling' ).removeAttr( 'disabled' );
 
17
        $( '#schedulingForm' ).submit();
 
18
}
 
 
b'\\ No newline at end of file'