Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
TimeOutAdmin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TimeOut
TimeOutAdmin
Commits
34bf48e9
Commit
34bf48e9
authored
Nov 12, 2019
by
Tobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T: Checker bug fixing
parent
ce2bbd5c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Organizer_model.php
application/models/Organizer_model.php
+1
-1
custom-script.js
assets/js/custom-script.js
+3
-4
No files found.
application/models/Organizer_model.php
View file @
34bf48e9
...
...
@@ -463,7 +463,7 @@ class Organizer_model extends CI_Model {
}
if
(
empty
(
$sql
)
||
empty
(
$custData
=
$sql
->
row_array
())){
$res
=
array
(
'status'
=>
0
,
'message'
=>
'User Doesnot Exist'
,
'code'
=>
'ER09'
);
$res
=
array
(
'status'
=>
0
,
'message'
=>
'User Does
not Exist'
,
'code'
=>
'ER09'
);
return
$res
;
}
$res
=
array
(
'status'
=>
1
,
'message'
=>
'Logged In Successfully'
,
'data'
=>
$custData
[
'id'
]);
...
...
assets/js/custom-script.js
View file @
34bf48e9
...
...
@@ -1024,16 +1024,15 @@ jQuery('[id^="addMultiLang"]').on('click',function() {
thisObj
.
html
(
'+ Hide Add More Language Option'
);
jQuery
(
'[id="showMultiLangBlock_'
+
block
+
'"]'
).
removeClass
(
'hide'
);
}
});
jQuery
(
'[id="custSearch"]'
).
autocomplete
({
source
:
base_url
+
'Customer_Booking/userSearch'
,
minLength
:
1
,
select
:
(
e
,
data
)
=>
{
if
(
!
data
||
data
==
''
||
data
==
undefined
||
data
==
'undefined'
||
data
==
null
||
data
==
'null'
){
return
false
;
}
if
(
!
data
||
data
==
''
||
data
==
undefined
||
data
==
'undefined'
||
data
==
null
||
data
==
'null'
){
return
false
;
}
jQuery
(
'[name="user_id"]'
).
val
(
data
[
'item'
][
'data'
]);
}
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment