@@ -804,17 +804,17 @@ QUnit.test("Convert between Scientific and fixed-point formats (dateMode, scient
804804 scientificFormat : "E+"
805805 } ) ;
806806
807- $editor . trigger ( "focus" ) [ 0 ] . trigger ( " select" ) ;
807+ $editor . trigger ( "focus" ) [ 0 ] . select ( ) ;
808808 this . util . paste ( $editor [ 0 ] , "100" ) ;
809809 this . util . wait ( 20 ) . then ( function ( ) {
810810 assert . equal ( $editor . val ( ) , "1E2" , "Edit Text not as expected on scientific format value paste." ) ;
811- $editor [ 0 ] . trigger ( " select" ) ;
811+ $editor [ 0 ] . select ( ) ;
812812 util . paste ( $editor [ 0 ] , "1e-22" ) ;
813813 return util . wait ( 20 ) ;
814814 } ) . then ( function ( ) {
815815 assert . equal ( $editor . val ( ) , "1E-22" , "Edit Text not as expected on scientific format value paste." ) ;
816816 $editor . igNumericEditor ( "option" , "scientificFormat" , "e+" ) ;
817- $editor [ 0 ] . trigger ( " select" ) ;
817+ $editor [ 0 ] . select ( ) ;
818818 util . paste ( $editor [ 0 ] , "23e+1" ) ;
819819 return util . wait ( 20 ) ;
820820 } ) . then ( function ( ) {
@@ -979,7 +979,7 @@ QUnit.test("Typing negative signs (multiple prevention, leading, scientific)", f
979979 } ) ;
980980
981981 $editor . trigger ( "focus" ) ;
982- $editor [ 0 ] . trigger ( " select" ) ;
982+ $editor [ 0 ] . select ( ) ;
983983 this . util . keyInteraction ( 45 , $editor ) ;
984984 assert . equal ( $editor . val ( ) , "-" , "Negative sign was not allowed to repalce entire value" ) ;
985985
@@ -1047,7 +1047,7 @@ QUnit.test("Typing multiple exponent chars (scientific E-notation)", function (a
10471047 } ) ;
10481048
10491049 $editor . trigger ( "focus" ) ;
1050- $editor [ 0 ] . trigger ( " select" ) ;
1050+ $editor . select ( ) ;
10511051 this . util . keyInteraction ( 101 , $editor , "shiftKey" ) ;
10521052 assert . equal ( $editor . val ( ) , "1E-7" , "E character should not be allowed to replace entire value" ) ;
10531053
@@ -1072,7 +1072,7 @@ QUnit.test("Typing multiple exponent chars (scientific E-notation)", function (a
10721072 } ) ;
10731073
10741074 $editor . trigger ( "focus" ) ;
1075- $editor [ 0 ] . trigger ( " select" ) ;
1075+ $editor [ 0 ] . select ( ) ;
10761076 this . util . keyInteraction ( 101 , $editor ) ;
10771077 assert . equal ( $editor . val ( ) , "1e-27" , "e character should not be allowed to repalce entire value" ) ;
10781078
0 commit comments