File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,10 @@ function PostBack(obj, ViewState)
130130
131131 if ( ViewState )
132132 {
133- PostBackOptions . ResponseLocation . prepend ( TmpDiv ) ;
133+ if ( typeof ViewState === "string" )
134+ cb_GetElementByElementPlace ( ViewState ) . innerHTML = TmpDiv . outerHTML ;
135+ else
136+ PostBackOptions . ResponseLocation . prepend ( TmpDiv ) ;
134137 cb_SetPostBackFunctionToSubmit ( PostBackOptions . ResponseLocation . getElementsByTagName ( "div" ) [ 0 ] ) ;
135138 }
136139 else
@@ -237,7 +240,10 @@ function GetBack(FormAction, ViewState)
237240
238241 if ( ViewState )
239242 {
240- PostBackOptions . ResponseLocation . prepend ( TmpDiv ) ;
243+ if ( typeof ViewState === "string" )
244+ cb_GetElementByElementPlace ( ViewState ) . innerHTML = TmpDiv . outerHTML ;
245+ else
246+ PostBackOptions . ResponseLocation . prepend ( TmpDiv ) ;
241247 cb_SetPostBackFunctionToSubmit ( PostBackOptions . ResponseLocation . getElementsByTagName ( "div" ) [ 0 ] ) ;
242248 }
243249 else
You can’t perform that action at this time.
0 commit comments